Forum Discussion

Catherine440's avatar
Catherine440
Copper Contributor
Feb 07, 2024

if 0 do nothing

What formula do I use for if 0 do nothing? I am counting inventory. My formula applied even if my count was 0 giving me final values that were negative.  If the count is 0 then I don't want the formula to apply.

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Feb 07, 2024

    Catherine440 

    A straight forward solution would be:

    =IF(E9<25,0,E9-25)

    A more advanced solution would be:

    =MAX(0,E9-25)

     

Resources