Currently, there is no way in a spreadsheet to get the level of an element inside a specific hierarchy.
Adding to formula PALO.EINDENT
an additional optional parameter which indicates the hierarchy/ to get the level of the element in that specific hierarchy, would do the job.
Background: I want to know whether some element is on the same level, a higher level or a lower level compared to another element inside a specific hierarchy.