Forum Discussion
Larry1921
Mar 17, 2021Copper Contributor
sumif or sumifs
On the attached spreadsheet I want to total cell f89 if it equals cell b87 with the date range in a2:a83 in order to total f2:f83.
Basically I want to total the items for "Bristol Hauling" that occur in the month that I specify in Cell b87.
Can someone help??
Thanks
2 Replies
- SergeiBaklanDiamond Contributor
Another variants
=IFERROR(SUM(FILTER(F$2:F$84,($A$2:$A$84=$B$87)*($B$2:$B$84=$B89))),0) =SUMPRODUCT(F$2:F$84*($A$2:$A$84=$B$87)*($B$2:$B$84=$B89))