Highest Letter Grade

Xmas

New Member
Joined
Dec 21, 2009
Messages
45
I am trying to use Excel to search a row over a number of columns and return the highest letter-grade in that field. The grades do not follow alphabetical order and some cells have numbers and others letters. The result needs to be displayed on another page in the book.

Any suggestions would be much appreciated.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,

I will try to give a bit more detail.

I am trying to use Excel to return the highest grade in a field


A B C D
1 34 G 84 MVG
2
3
4

The grading system works like this.
MVG>VG>G>ÄIU

I am not interested in converting numbers to a letter grade. I just want to the highest letter grade in the field.


MVG is the highest grade and ÄIU is the lowest. In the example above I want to be able to automatically return MVG in a cell because it is the highest grade in the field row 1, column A-D.

Any suggestions?
 
Upvote 0
With the data in A1:D1...

Control+shift+enter, not just enter:
Code:
=IF(SUM(COUNTIF(A1:D1,{"MVG","VG","G","ÄIU"})),INDEX({"MVG","VG","G","ÄIU"},
   MIN(IF(ISNUMBER(MATCH(A1:D1,{"MVG","VG","G","ÄIU"},0)),
     MATCH(A1:D1,{"MVG","VG","G","ÄIU"},0)))),"Not Available")
 
Upvote 0
I know I'm a bit late on this question, but a couple of other possibilities:

1. With the list of grades (in order) in the sheet (G1:G4 below) and if #N/A is acceptable in place of the 'Not Available' that Aladin's formula produces, then may be the C+S+E formula in F1 copied down.

2. The non-array formula in I1 copied down.

Excel Workbook
ABCDEFGHI
134G84MVGMVGMVGMVG
2GGVGG
315VG24VGVGGVG
45#N/AAIUNot Available
52822AIUAIUAIU
6
Highest Grade
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,215
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top