Forum Discussion
31moons
Aug 25, 2020Copper Contributor
Minus cells if other cells equal
I'm trying do the following and it's not working. If cells X2:X30 "<>CLSD" Then AI2-S2 This formula is not working: =SUMIF(X2:X30,"<>CLSD",AI2-S2)
wumolad
Aug 25, 2020Steel Contributor
You need to change the syntax
SUMIF(X2:X30,"<>"&CLSD,AI2-S2)
I am not sure what you have in each cell though.
Cheers