I have learned how to use the SUMPRODUCT formula, thanks to the lovely FAQ section. However, I am trying to add one more step to my formula.
I want to say:
If ANY of the cells in the range H1:H10 are greater than or equal to 01/31/2007, then move on to the SUMPRODUCT formula. If not, 0.
I'm stuck because it's only moving on to the SUMPRODUCT if all of the values in range H1:H10 are = 01/31/2007.
How can I do this?
Here is what I have currently:
'=IF(($H$1:$H$10=DATEVALUE("01/31/2007")),SUMPRODUCT(($G$1:$G$10<="SAMPLE")*($Q$1:$Q$10="RED")),0)
I want to say:
If ANY of the cells in the range H1:H10 are greater than or equal to 01/31/2007, then move on to the SUMPRODUCT formula. If not, 0.
I'm stuck because it's only moving on to the SUMPRODUCT if all of the values in range H1:H10 are = 01/31/2007.
How can I do this?
Here is what I have currently:
'=IF(($H$1:$H$10=DATEVALUE("01/31/2007")),SUMPRODUCT(($G$1:$G$10<="SAMPLE")*($Q$1:$Q$10="RED")),0)