Sumif / Sum and if???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a formula that adds only the rows in a a column if the column next to
it (dates) are at least a day behind today

D E F
1 2/1 600
2 2/2 600
3 2/3 600
4 2/4 600

i started out with sumif(D1:D4,"now()-1",D1:D4) but i guess that was a
little too simple to work.


Please help!
 
You were on the right track....

Try this:
=SUMIF(A1:A4,"<"&TODAY()-1,D1:D4)

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
PERFECT!!! THX!

Ron Coderre said:
You were on the right track....

Try this:
=SUMIF(A1:A4,"<"&TODAY()-1,D1:D4)

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
NOW() returns date and time, whereas TODAY() returns date only - with
times involved you would not have had exact matches.

Hope this helps.

Pete
 

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