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.
=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.