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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives