#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formulas

How do I write a formula that will assign letters to a range of number
values. For example, I have a range of test scores in a column. In the next
column I want corresponding letters. 90 to 100=A; 70 to 89=P, 0 to 69=B.

Thanks,
Nordic
















  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formulas

You can use the VLOOKUP function to do this.

For example, in cell E10, enter the following function...

=IF(E8<"",VLOOKUP(E8/C8,$Q$7:$R$18,2),"")

In this example, I created a range of values starting in Q7 and ending in
R18. Column Q is my quality points (numeric values), and column R is my
letter grades.

Q7 = 0.0
R7 = F
Q8 = .6667
R8 = D-
etc.


--
RichG


"Nordic" wrote:

How do I write a formula that will assign letters to a range of number
values. For example, I have a range of test scores in a column. In the next
column I want corresponding letters. 90 to 100=A; 70 to 89=P, 0 to 69=B.

Thanks,
Nordic
















  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formulas

=LOOKUP(A1,{0,70,90},{"B","P","A"})

A1=test score

"Nordic" wrote:

How do I write a formula that will assign letters to a range of number
values. For example, I have a range of test scores in a column. In the next
column I want corresponding letters. 90 to 100=A; 70 to 89=P, 0 to 69=B.

Thanks,
Nordic
















Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM
"IF..THEN.."formulas Mari P Excel Worksheet Functions 2 February 1st 05 12:33 PM


All times are GMT +1. The time now is 10:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"