sjones2017
New Member
- Joined
- Mar 7, 2017
- Messages
- 4
Hello All:
Longtime listener, first time caller....
I have a column of numbers with an adjacent column of letters, the first column can contain multiples of the same number but have a different letter code assigned. I need to return the highest letter in the range of the number selected. There are two issues that I am dealing with. 1)The formula that I have: {=MAX(IF(A1:A8=C1,B1:B8))} returns a value of '0'....I am assuming that a letter does not have a numeric value assigned. 2) The order in which I need to rank the letters is....AA, A, B, C....if you sort the letters, it sorts them as A, AA, B, C.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]AA[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]{=MAX(IF(A1:A8=C1,B1:B8))} - Returns 0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1[/TD]
[TD]B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1[/TD]
[TD]C[/TD]
[TD]** Would like for value to be returned as: AA **[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]AA[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2[/TD]
[TD]A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2[/TD]
[TD]B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]2[/TD]
[TD]C[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Longtime listener, first time caller....
I have a column of numbers with an adjacent column of letters, the first column can contain multiples of the same number but have a different letter code assigned. I need to return the highest letter in the range of the number selected. There are two issues that I am dealing with. 1)The formula that I have: {=MAX(IF(A1:A8=C1,B1:B8))} returns a value of '0'....I am assuming that a letter does not have a numeric value assigned. 2) The order in which I need to rank the letters is....AA, A, B, C....if you sort the letters, it sorts them as A, AA, B, C.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]AA[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]{=MAX(IF(A1:A8=C1,B1:B8))} - Returns 0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1[/TD]
[TD]B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1[/TD]
[TD]C[/TD]
[TD]** Would like for value to be returned as: AA **[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]AA[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2[/TD]
[TD]A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2[/TD]
[TD]B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]2[/TD]
[TD]C[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]