Help on SUMIF Formula not showing a negative value
I know this has to be something simple but my brain just can't get done this morning, so any help is greatly appreciated. I basically need a formula to take one cells value and minus another cells value if one cell is greater than 0. This is the formula ------- =SUMIF([Actual Device Tags]@row - [Quoted Device Tags]@row, [Actual Device Tags]@row > 0) ----- I have now and works great but if the delta between the two cells is a negative number it will only show up as a zero. How do i get it to show the true value whether its positive or negative?
Best Answer
-
You're doing a SUMIF, so I think it's a problem with how you're using it. The format of SUMIF is (range, criterion). If all you're looking to do is return the value after the subtraction, I think you just need an IF.
=IF([Actual Device Tags]@row > 0, [Actual Device Tags]@row - [Quoted Device Tags]@row)
Answers
-
You're doing a SUMIF, so I think it's a problem with how you're using it. The format of SUMIF is (range, criterion). If all you're looking to do is return the value after the subtraction, I think you just need an IF.
=IF([Actual Device Tags]@row > 0, [Actual Device Tags]@row - [Quoted Device Tags]@row)
-
Hot diggity dog, you saved me from losing my mind and more hair off my head!! Greatly appreciated!!
-
No problem, glad it's working
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!