# Excel/Excel Calculation

Question
When I enter the marks in a cell, I want to be automatically added the grade in another cell, how can I make it? Pls. help me

80 and above A+
75-79 – A
70-74 – A-
65-69 – B+
60-64 – B
55-59 – B-
50-54 – C+
45-49 – C
40-44 – C-
35-39 – D+
30-34 – D
00-29 – E

=VLOOKUP(D2,{0,"E";29,"D";34,"D+";39,"C-";44,"C-";49,"C+";54,"B-";59,"B-";64,"B+";69,"A-";75,"A-";80,"A+"},2)

Where D2 is where you entered the grade.
Or, you can enter the values into A1:B12, and then use this formula
=VLOOKUP(D2,A1:B12,2)

(the first 0 is in A1, the the "A+" is in B12.
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

#### Bob Umlas

##### Expertise

I`m a Microsoft Excel MVP (Most Valuable Professional) and have been since the inception of the program in 1995. I can answer every kind of Excel question except: API, Importing/exporting to other programs (powerpoint, word,...) Also check out my in-person training link at http://www.thumbtack.com/ny/new-york/excel-training/

##### Experience

Worked with MS Excel since version 0.99 (on the Mac!). Was contributing editor to Excellence Magazine, having written >300 articles. John Walkenbach said of me "I finally met someone who knows as much about Excel as I do."

Publications
Excellence, The Expert, Microsoft

Education/Credentials
BA in math, Hofstra University, 1965

Awards and Honors
MVP
Led sessions for the Convergence 2004-2006 seminar on Excel tips & tricks