How can I assign a number value to a letter grade in Excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is very simple, but I can't find a variable assignment function. How
can I assign a number value to a letter grade presented in an Excel table?

Thanks
 
You will probably have to set up a lookup table, and use the VLOOKUP function.

A 1
B 2
C 3
D 4
E 5
 
Do you have a spreadsheet with the layout?

LJ
 
Enter this formula in B1. You don't need a separate table, the table is in
the formula.

=LOOKUP(A1,{0,50,65,70,85},{"F","D","C","B","A"})

Enter a number in A1

Or go with the VLOOKUP table as proposed by other responders.


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top