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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives