Google Sheets – Sum Column with Boolean Secondary Column google docsgoogle sheets With this kind of Google Docs Spreadsheet: How can I calculate SUM(C1:C8), but without values where the corresponding D column has a 0 (so, without C1 and C3)? Best Answer Try the following formula: =SUMIF(D1:D8, "<>0", C1:C8) Not described in the help is the use of <>. This reads as not equal The rest is explained in the help: SUMIF Related SolutionsSum Column Only if Another Column is Empty in Google Sheets Replace ISEMPTY with ISBLANK Your formula should be as follows:- =SUM(FILTER(A:A, ISBLANK(B:B))) Now you will get the result as 40 Google Sheets – How to Sum Values in a Range of Dates This works, see F35 in your sheet: SUMIF(E2:E33;">="&E35;B2:B33)-SUMIF(E2:E33;"<="&E36;B2:B33) column E is done by calculating a value for the dates to be able to compare them (=VALUE(E1)) Note that separating the args for some reasons is done with ; Related TopicGoogle-sheets – Sum column by referencing column headerGoogle Sheets Formulas – How to Sum a Column if Another Column Contains Any of the ValuesGoogle-sheets – How to use ARRAYFORMULA to sum every 7 rowsGoogle Sheets Query – Sum Single Column Based on CriteriaGoogle Sheets – How to Extract a Column from a RangeGoogle-sheets – How to sum a column with cells that have multiple values separated by a commaGoogle-sheets – Sum depending on value of Column B and Date in Column CGoogle Sheets – Sum Column Values Except Rows with Checked Box
Best Answer
Try the following formula:
Not described in the help is the use of
<>
. This reads asnot equal
The rest is explained in the help: