Help with formula that sums child rows unless a condition is met
Hi,
I'm looking for help writing a formula for the cell highlighted in Red in the screenshot below.
I'd like it to SUM(CHILDREN()) unless one of the child rows contains "SELECT CURRENCY", in which case I'd like it to return "ERROR".
Any ideas how to write this formula? Thanks!
Answers
-
Hi @Tara Factor
This should do the trick for you
=IF(CONTAINS("Select Currency", CHILDREN()), "Error", SUM(CHILDREN()))
Hope that helps
Thanks
Paul
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!