Forum Discussion

31moons's avatar
31moons
Copper Contributor
Aug 25, 2020
Solved

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)
  • 31moons's avatar
    Aug 25, 2020

    31moons 

    I got it! Instead of doing a range of cells. I focused on one cell and used the IF function.
    IF(X2="CLSD",AI2-S2,0)
    Thank you everyone!!!