Help with formula that sums child rows unless a condition is met



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!


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!