Formula Problem

G

Guest

Hello All,

I was wondering if you could help me, I am using the following formula in
Excel 2003.

=SUMPRODUCT(--(E3:E129<=(NOW())))

This is basically telling me any values that are before the current date
(i.e Expired training). The formula works OK but is counting blank cells
(Not everyone has done the training!!).

Can anyone let me know how to amend this formula to exclude blank cells.

Many Thanks

Mark
 
D

David Biddulph

=SUMPRODUCT((E3:E129<=NOW())*(E3:E129<>""))
Note that if you are looking at just date, rather than time, you may want to
change NOW() to TODAY(), and you may want < rather than <= if you are
looking at dates before today.
 

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

Top