Number less than zero is shown as a zero
Mitch@Enmach
✭✭
Hello again community,
I am hoping someone can help me understand the right way to write this formula for what I am trying to achieve.
I am wanting to subtract one cell from another which in some cases provides a negative number. I would like the formula to pick up on this negative number and output a 0 in place of the negative number.
This is the formula I have so far that does not work.
=SUM([Column4]20 - [Column4]19) = IF([Column3]20 = <0, "0", "")
Many thanks in advance.
Comments
-
Hi Mitch -
If you are placing you formula in [Column3]20, use the following:
=IF(SUM([Column4]20 - [Column4]19) < 0, 0, SUM([Column4]20 - [Column4]19))
Regards,
Sean -
Thanks Sean, love your work!
Makes sense.
-
You're welcome
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives