Number of Items open longer than 1 week but less than 2 weeks

  • Thread starter Thread starter Andibevan
  • Start date Start date
A

Andibevan

Hi All,

I have data that is setup with Owners in Column A and Date Purchased in
Column B.

What formula would I use to calculate the number of items that were
purchased by Customer 1 between 1 and 2 weeks ago?

THanks

Andi
 
Hi Andi

One way
=SUMPRODUCT(--($A$1:$A$100=customer_name),--($B$1:$B$100>=DATE(2005,7,23)),--($B$1:$B$100<=DATE(2005,7,29))
Change ranges and date to suit.
 
=SUMPRODUCT(--($A$2:$A$100="Customer
1"),--($B$2:$B$100>TODAY()-14),--($B$2:$B$100<=TODAY()-7)


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Great - Thanks Guys


Bob Phillips said:
=SUMPRODUCT(--($A$2:$A$100="Customer
1"),--($B$2:$B$100>TODAY()-14),--($B$2:$B$100<=TODAY()-7)


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
How would I get this to work if Column B contains the date and time not just
the date - i.e. 6/7/2005 11:52:59

Hadn't spotted that when I originally posted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top