Hi all...there is probably a straightforward answer to this question though for the life of me I can't work it out myself!
I have a code hierarchy structure. For each code i.e. shown in column B, I want to be able to find the lowest level the code goes to within the hierarchy based on a specific parameter (where Level A is the highest level and Level F is the lowest level)
For example, if I want to find the lowest EP category level for code 3610022, the correct answer would be EP5212 in cell J5.
Another example would be for code 3610089, the lowest level code would be EP2500 in cell H13.
To begin with, I guess I could use an Xlookup to pull through all levels for the codes from the Data Table. The difficult part after that is working out how to pull through the lowest level code where in theory it could be any column between Level A and Level F. I also want it to be flexible where I can search for other lowest level codes i.e. EW, EA etc.
hopefully someone can assist this novice!
I have a code hierarchy structure. For each code i.e. shown in column B, I want to be able to find the lowest level the code goes to within the hierarchy based on a specific parameter (where Level A is the highest level and Level F is the lowest level)
For example, if I want to find the lowest EP category level for code 3610022, the correct answer would be EP5212 in cell J5.
Another example would be for code 3610089, the lowest level code would be EP2500 in cell H13.
To begin with, I guess I could use an Xlookup to pull through all levels for the codes from the Data Table. The difficult part after that is working out how to pull through the lowest level code where in theory it could be any column between Level A and Level F. I also want it to be flexible where I can search for other lowest level codes i.e. EW, EA etc.
hopefully someone can assist this novice!