Back

About MrExcel
Consulting Services
Learn Excel Resources
Challenge of the Month
MrExcel Seminars

Message Board

MrExcel Store
Podcast
Search
Contact
Home

 

 
Angel asks "I am a teacher, and I use excel to do my grading, but I still have to manually change the number grades to letters because I have not figured out what to do yet. Please help. Examples of what I am talking about.

John D = 83 which is a B-
John D2= 85 B+

and so on a so forth."

The solution is simple. Create a Table that looks something like this:
0 F
60 D
70 C
80 B
90 A

Where you put the LOWER limit of each range. For example, F goes from 0 to 59, so you put a 0 and next to it, an "F". After this, select this Table, go to the Name Box (To the left of the formula bar) and type GRADES

Now, if your grades are in A2 use this formula (Which you can drag down or across)

=VLOOKUP(A2,GRADES,2)

By Juan Pablo Gonzalez on 20-Feb-2002

MrExcel.com Consulting can be hired to implement this concept, or many other cool applications, with your data.

MrExcel.com provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.

 

Excel is a registered trademark of the Microsoft® Corporation.

All contents Copyright 1998-2008 by MrExcel Consulting.