SUMIF
![Musa](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
Musa
✭
Hi all,
I am trying to add a range of cells on condition that it does not contain any value that is equal to/or less than 0. for instance (12,45,24,0,65) should equal 0 and (12,24,24,10,65) give me 135.
anyone to help?
Comments
-
Musa,
I think I've got a solution for you that you'll want to experiment with. In this example the Sum of the numbers is in Column 1 and the other 5 numbers are in columns 2 through 6 respectively.
=IF(AND([Column2]1 > 0, [Column3]1 > 0, [Column4]1 > 0, [Column5]1 > 0, [Column6]1 > 0), SUM([Column2]1:[Column6]1), 0)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!