I'm trying to make a sumproduct formula to count the number of entries in a specific month in the E row of the "DATA" sheet, the formula is located in F7 of the "Res" Sheet, the month to be searched would be typed in G2 of the "Res" Sheet.
My problem is that when I try to type 1 in G2 it counts all the blank cells as well.
This is the formula I'm using
=SUMPRODUCT(1*(MONTH(DATA!E5:E50)=G2))
My problem is that when I try to type 1 in G2 it counts all the blank cells as well.
This is the formula I'm using
=SUMPRODUCT(1*(MONTH(DATA!E5:E50)=G2))