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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 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!