You are here:

Excel/Turning number into grade

Advertisement


Question
Hey i was wondering if it is possible to turn a number into a grade? i have done a countif after 10 questions with IF statements and I've gotten it to display 10/10 but i want to turn that into a grade.
What's the easiest way to do it?

Thanks

Answer
Jeremy,

   What kind of grade?  A letter grade, or a percent?

   A percent, of course, is easy.  Just format the result as a percent.

   To create a letter grade, you need a nested IF statement with each conditional test examining the breakpoints, like so:

  =IF(Gradecell>=0.9,"A",IF(gradecell>=0.8,"B",IF(gradecell>=0.7,"C",IF(gradecell>=0.5,"D","F")

   Make up your own breakpoints of course.  You can also add A-, B+, whatever you'd like... up to SEVEN.

   Howz about that for easy?

    >>> Bill
About Excel
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

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bill Hermanson

Expertise

Please tell me WHICH EXCEL VERSION you are using!

DO NOT ASK ME me about Macros or VBA.

Please read my "instructions to questioners" in my full profile [use View Profile, at right], to help you write a question that I can understand, without having to ask you what you mean.

If your question contains any of the words THIS, IT, THAT, THOSE, or THEY, I likely won't understand IT. Please rewrite!

My Expertise: I am an expert at data manipulation, the use of incredibly complex logical statements, databases, combining tables and extracting data, all the LOGICAL, LOOKUP & REFERENCE functions, dynamic ranges, creating professional appearing spreadsheets, complex functions, integrated charts and visual displays, user interfaces.... I can make Excel do anything!

But PLEASE... NO MACRO or VBA QUESTIONS!

Experience

25 years development of complex spreadsheets for personal and professional use. I've developed hundreds (or thousands!) of spreadsheets in all fields, from complex engineering calculations to game scoring, financial analysis, scheduling, cost-of-doing-business, and analysis of home energy use. I even used Excel to assist in design of the flight computers presently on board the Hubble Space Telescope (1984-1991)

Education/Credentials
BSEE Electrical Engineering, CU Boulder CO USA
Use of spreadsheets since 1982
Boulder Valley School District, Life Long Learning, Instructor
Owner & Operator of Excel Expert, LLC

©2010 About.com, a part of The New York Times Company. All rights reserved.