
Originally Posted by
daddylonglegs
You need an extra set of parentheses, i.e.
=SUMPRODUCT(--(MONTH('Weekly Stats'!A2:A50)=1))
Note that any blank cell will be deemed to be January so you might want to add another criterion to check that cells are not blank, i.e.
=SUMPRODUCT(--(MONTH('Weekly Stats'!A2:A50)=1),--('Weekly Stats'!A2:A50<>""))
Sorry, don't quite understand what you mean.. What I'm actually trying to check is the date against a string in the F column. In the below case its a time of "8:30 - 16:30"
Again though its returning a 0 when I know that there is data there..
Bookmarks