Sumif only checked positive/negative values
Hi! Does anyone know a way to sum only the positive or negative values that are checked? Meaning both “<0”/“>0” AND the checkboxes (from a separate column) must be true.
Hi! Does anyone know a way to sum only the positive or negative values that are checked? Meaning both “<0”/“>0” AND the checkboxes (from a separate column) must be true.
Try this:
The formula in B7 (I've defined row 7 as a Footer Row to make it convenient to put a formula there):
=SUMIFS(B,A,TRUE,B,"<0")
For positive numbers change the "<0" to ">0"
Use ; instead of , in the formulas if your region uses , as a decimal separator.
SG
Try this:
The formula in B7 (I've defined row 7 as a Footer Row to make it convenient to put a formula there):
=SUMIFS(B,A,TRUE,B,"<0")
For positive numbers change the "<0" to ">0"
Use ; instead of , in the formulas if your region uses , as a decimal separator.
SG
Hello,
You could use the function SUM.IFS which allows you to specify multiple conditions: SUMIFS - Apple Support. In your case, you would have 2 conditions: one on column A, the other on column B.
Hi! Thank you. I've tries SUMIFS but couldn't get it to work with this, and haven't found any solutions that fit this specific problem. Could you tell me how you'd write this function for it to work in this case, please?
Yes!! Thank you, this worked perfectly! ✨
Sumif only checked positive/negative values