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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!