Excel: negative result equals zero

Solved
Hello,
My problem is relatively simple,
I would like the result of a subtraction to appear as zero when it is negative (for example 0-2=-2).
Thank you for your help.
jelumic
Configuration: Windows XP Internet Explorer 6.0

4 answers

  1. Hello,

    Look at this formula that references cells A1 =0 and B1 =2

    =IF(A1-B1<0,0,A1-B1)

    A+
    54
    1. Okay, that works,
      Thank you.
      0
    2. Thank you, I had forgotten this formula which is really useful.
      0
    3. Thank you very much for this formula.
      0
    4. Oh great!

      0
    5. thank you, I had forgotten this nomenclature

      0