Sumproduct and the darn dates!

K

Kreller

Hi,

I'm a newbie in sumproducts but have found it very functional. However
I have a probelem with using a data as criteria in an array. The formul
doesn't work when testing for the date (in the example 18-10-2004), bu
when I test the formula with anything else - e.g. a text string - i
works well.

=SUMPRODUCT(--(N2:N1000="Meeting");--(O2:O1000="18-10-2004"))

I was proposed the solution with DATEVALUE

=SUMPRODUCT(--(N2:N1000="Meeting");--(O2:O1000=DATEVALUE("18-10-2004")))

but it doesn't work either.

Any suggestions?
 
D

Don Guillett

I have found the easiest way to do this is refer to a cell with the date
desired.
o2:blush:1000=d1
 

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