You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Show positive numbers as zero OR show the negative result

I have a simple subtraction formula.


SUM=A1-A2


Sometimes that reflects a negative number IF it's negative I want to know the result. (245) or -245

If it's Positive I want to see a zero in that cell.


Is this possible? I'm sure this is super simple for someone but I can't figure it out.

Posted on Jan 30, 2022 11:21 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2022 1:45 AM

If your result of A1-A2 is in, say, A3, then you could use:


=MIN(0,A3)


Or, if you want to do it directly without having the result in a different cell:


=MIN(0,A1-A2)




Note you could also use an IF formula, but that is more complicated.


Use ; instead of , in the formulas if your region uses , as a decimal separator.


SG


1 reply
Question marked as Top-ranking reply

Jan 31, 2022 1:45 AM in response to TheBeardedAgent

If your result of A1-A2 is in, say, A3, then you could use:


=MIN(0,A3)


Or, if you want to do it directly without having the result in a different cell:


=MIN(0,A1-A2)




Note you could also use an IF formula, but that is more complicated.


Use ; instead of , in the formulas if your region uses , as a decimal separator.


SG


Show positive numbers as zero OR show the negative result

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.