# Make a Cell Output a Letter

1. ## Make a Cell Output a Letter

I'm currently working on a basic evaluation survey on excel. I've set it up so that one can input letter grades for each aspect of the survey. The letter grades are converted into numbers, and added up to form a total score. My question is, how do I make the sheet output a letter to the user, that is determined by the total score? (ie. 90 and above is an A, 80 and above is a B, etc.) Any assistance would be appreciated.

2. ## Re: Make a Cell Output a Letter

Something like this:

=LOOKUP(A1,{0,40,60,80,90},{"E","D","C","B","A"})

Dom

3. ## Re: Make a Cell Output a Letter

What about if I want a range of values to display one letter? ie. from 40 to 60 is an "E" ranking.

4. ## Re: Make a Cell Output a Letter

The numbers in the first array of values are the lower limit of each range. Based on the formula given, the ranges are

0-39 returns E
40-59 returns D
60-79 returns C
80-89 returns B
90+ returns A

There are currently 1 users browsing this thread. (0 members and 1 guests)