View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Karen Smith Karen Smith is offline
external usenet poster
 
Posts: 45
Default # of days - if & count statements

Here's the formula that I have now. I need to make formulas for 30 <=60
and so on down the road every 30 days.

=SUMPRODUCT(--(pseries!$I$8:$I$4000="advertising"),--(pseries!$S$8:$S$4000<=30),pseries!$T$8:$T$4000)

I've tried the one below but it doesn't seem to give me the answer.
=SUMPRODUCT(--(pseries!$I$8:$I$4000="advertising"),--(pseries!$S$8:$S$400031<61),pseries!$T$8:$T$4000)

Can anyone help?


"Karen Smith" wrote:

I need to create 2 formulas on the following table ....1 how many records are
0-30 days (answer 4) and 2ndly how much money are in 0-30 days (answer $750)

For example
# of Days $
28 150
34 100
22 100
44 100
1 200
32 50
5 300