Forum Discussion
crb3209
Aug 02, 2024Copper Contributor
Sumproduct with three criteria, one of which is an or statement with two dates
Hi everyone, This is a complex endeavor for me. I am attempting to use sumproduct with three criteria on another tab. Criteria 1: If column C indicates "YES" Criteria 2: If column F indicates "St...
- Aug 02, 2024use this formula,
=SUMPRODUCT((Master_Calendar!$C$3:$C$503="YES")*(Master_Calendar!$F$3:$F$503="Standalone Service")*(((MONTH(Master_Calendar!$AA$3:$AA$503)=8)+(MONTH(Master_Calendar!$AB$3:$AB$503)=8)) > 0))
crb3209
Aug 02, 2024Copper Contributor
Thank you, Rodrigo. I think I've been staring at it too long. I fixed it, but it still doesn't work.
Rodrigo_
Aug 02, 2024Steel Contributor
use this formula,
=SUMPRODUCT((Master_Calendar!$C$3:$C$503="YES")*(Master_Calendar!$F$3:$F$503="Standalone Service")*(((MONTH(Master_Calendar!$AA$3:$AA$503)=8)+(MONTH(Master_Calendar!$AB$3:$AB$503)=8)) > 0))
=SUMPRODUCT((Master_Calendar!$C$3:$C$503="YES")*(Master_Calendar!$F$3:$F$503="Standalone Service")*(((MONTH(Master_Calendar!$AA$3:$AA$503)=8)+(MONTH(Master_Calendar!$AB$3:$AB$503)=8)) > 0))
- crb3209Aug 02, 2024Copper ContributorIt works!!!! Thank you so much. What does the ">0" do?