Want to add cells and return 1/2 if they don't equal a cell ERROR
=SUM(IF([Reel Stop]@row:[Quantity Scrapped]@row = [Reel Start]@row, 1, 2))
Best Answer
-
Your SUM syntax is SUM(number1, [number2, ...]), and it should be inside your IF, not outside. The IF syntax is IF(logical expression, true condition, false condition).
Try this:
=IF(SUM([Reel Stop]@row, [Quantity Placed]@row, [Quantity Scrapped]@row) = [Reel Start]@row, "YES", "NO")
Your logical expression is SUM([Reel Stop]@row, [Quantity Placed]@row, [Quantity Scrapped]@row) = [Reel Start]@row, true condition is "YES", false condition is "NO".
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
Your SUM syntax is SUM(number1, [number2, ...]), and it should be inside your IF, not outside. The IF syntax is IF(logical expression, true condition, false condition).
Try this:
=IF(SUM([Reel Stop]@row, [Quantity Placed]@row, [Quantity Scrapped]@row) = [Reel Start]@row, "YES", "NO")
Your logical expression is SUM([Reel Stop]@row, [Quantity Placed]@row, [Quantity Scrapped]@row) = [Reel Start]@row, true condition is "YES", false condition is "NO".
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Thanks Jeff!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!