TonyChestnut
New Member
- Joined
- Aug 24, 2012
- Messages
- 12
Hi,
Hopefully the title of this thread makes some sense. Let me explain what I am trying to do...
I have a range of values, A1:A5. In this hypothetical situation say that they are the following:
A1 = P1
A2 = T1
A3 = C4
A4 = PC1
A5 = C6
The letter/s on the left relate to a hierarchy where P is the lowest, T is next, then C, and PC is the 'highest'.
What I need is a function (cannot be a macro, and not possible to use helper cells due to the extent of the project) that will return the 'highest' result, first considering the Letter/s on the left, and then the numbers on the right.
The function should return, in the given scenario, the value of A4. If that wasn't there then the value of A5.
I've been ripping my hair out trying various combinations of MAX, IF, SUBSTITUTE, LARGE, VALUE, N, LOOKUP, etc, but I fail everytime.
Please help me win.
Kind regards,
Hopefully the title of this thread makes some sense. Let me explain what I am trying to do...
I have a range of values, A1:A5. In this hypothetical situation say that they are the following:
A1 = P1
A2 = T1
A3 = C4
A4 = PC1
A5 = C6
The letter/s on the left relate to a hierarchy where P is the lowest, T is next, then C, and PC is the 'highest'.
What I need is a function (cannot be a macro, and not possible to use helper cells due to the extent of the project) that will return the 'highest' result, first considering the Letter/s on the left, and then the numbers on the right.
The function should return, in the given scenario, the value of A4. If that wasn't there then the value of A5.
I've been ripping my hair out trying various combinations of MAX, IF, SUBSTITUTE, LARGE, VALUE, N, LOOKUP, etc, but I fail everytime.
Please help me win.
Kind regards,