A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Use a SUMIFS formula so the sum is based on multiple conditions, including excluding rows where column B has "Yes".
Assuming:
- Criteria in
Fixtures!$C$257:$C$500 - Values to sum in
Fixtures!$F$257:$F$500 - Exclusion flag ("Yes") in
Fixtures!$B$257:$B$500 - Criteria in
B38
Use:
=SUMIFS(
Fixtures!$F$257:$F$500,
Fixtures!$C$257:$C$500, $B38,
Fixtures!$B$257:$B$500, "<>Yes"
)
Explanation:
-
Fixtures!$C$257:$C$500, $B38keeps the original condition. -
Fixtures!$B$257:$B$500, "<>Yes"tells Excel to sum only rows where column B is not "Yes". - If column B is blank, it is not equal to "Yes", so those rows are included.
If the "Yes" flags are in a different range (for example Fixtures!$B$2000:$B$2104), adjust the third range accordingly, but keep the ranges the same size and shape as the sum range to avoid performance issues.
References: