Hello,
I am trying to get a database to count how many cells in a column are between a range (26-40) if a date in one cell (D5:D1300) is earlier than a date in another (K2) and if the value in another cell (E5:E1300) is "open". I have done the formula below but it does not seem to be adding things together the right way even though it returns a number:
=SUMPRODUCT(--(Database!D5:D1300>=26),--(Database!D5:D1300<40) --(Database!E5:E1300="OPEN"))
Any ideas?
Anna
Bookmarks