Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

I have been progressing well and solved many complex formulae but this simple one has me

I am trying to return the closest parent for the equipment ID when i have other interceding hierarchy levels between the true parent and the Equipment ID. I keep getting a syntax error and for the life of me cannot see it.

image.png

=IF(Heirarchy@row = 5, INDEX(ANCESTORS(Heirarchy@row, 2), [Equipment ID]@row), IF(Heirarchy@row > 5, [Parent]@row, "")) is the formula used in the above snip.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions