#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default VLookup Tables

I am a teacher and trying to make my grades electronic instead of manual. I
have the number grades calculated however; I wanted excel to automatically
translate the numeric grade into a letter grade. For example if the numeric
grade is a 90 than in the next column I want excel to put an A- in the field.
I tried to do that with creating a separate worksheet for the VLOOKUP that
lists the numeric grade associated with the letter grade but I don't
understand how to do it.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default VLookup Tables

The table could be

50 C+
60 B
70 B+
80 A
90 A+

while the formula would be =VLOOKUP(A7,A1:B5,2)

Regards
AQIB RIZVI
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default VLookup Tables

Try this:

C1: 0 D1: E
C2: 60 D2: D
C3: 70 D3: C
C4: 80 D4: B
C5: 90 C5: A

Ensure that you have c sorted in increasing order

For your lookup, use this (a1 is the numeric value)

=VLOOKUP(A1,$C$1:$D$5,2,TRUE)
--
HTH,
Barb Reinhardt



"Jo-Jo" wrote:

I am a teacher and trying to make my grades electronic instead of manual. I
have the number grades calculated however; I wanted excel to automatically
translate the numeric grade into a letter grade. For example if the numeric
grade is a 90 than in the next column I want excel to put an A- in the field.
I tried to do that with creating a separate worksheet for the VLOOKUP that
lists the numeric grade associated with the letter grade but I don't
understand how to do it.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default VLookup Tables

See if this gets you most of the way there....

With
A1: (a test score....eg 92)
B1:
=LOOKUP(A1,{0,60,63,67,70,73,77,80,83,87,90,93,97} ,{"F","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+"})

That formula in segments is this:
=LOOKUP(A1,{0,60,63,67,70,73,77,80,83,87,90,93,97} ,
{"F","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+"})

or...using a lookup table:
E1:E13 contains these values:
0
60
63
67
70
73
77
80
83
87
90
93
97

F1:F13 contains these grades:
F
D-
D
D+
C-
C
C+
B-
B
B+
A-
A
A+

and...
B1: =VLOOKUP(A1,$E$1:$F$13,2,1)

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)




"Jo-Jo" wrote in message
...
I am a teacher and trying to make my grades electronic instead of manual.
I
have the number grades calculated however; I wanted excel to automatically
translate the numeric grade into a letter grade. For example if the
numeric
grade is a 90 than in the next column I want excel to put an A- in the
field.
I tried to do that with creating a separate worksheet for the VLOOKUP that
lists the numeric grade associated with the letter grade but I don't
understand how to do it.




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
vlookup on 3 different tables - please HELP Nir Excel Worksheet Functions 3 October 30th 06 02:54 PM
VLookUp Tables Louise Excel Worksheet Functions 5 August 23rd 06 04:43 PM
VLOOKUP with TABLES Serge Excel Discussion (Misc queries) 8 April 28th 06 05:51 AM
VLookUp / 2 Tables carl Excel Discussion (Misc queries) 2 January 17th 06 09:56 PM
VLookUp Tables Louise Excel Worksheet Functions 5 March 9th 05 04:01 PM


All times are GMT +1. The time now is 05:10 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"