Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default changing score from number to letter grade

I have to convert my number scores to letter scores.

example of ranges: 300 to 400 = A. Is there anyway I can enter all my
ranges for letter grades a, b, c, d, f and the program will return a letter
grade.

I looked in convert and if statements, but couldn't really find it.

Thank you Cindy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default changing score from number to letter grade

This can be done with a vlookup formula. The list that you are looking up
into needs to be sorted and the final argument in the vlookup function must
be set to true...

400 A
300 B
250 C

=Vlookup(A2, Sheet2!A1:B10, 2, true)

Or something like that...
--
HTH...

Jim Thomlinson


"chayrun" wrote:

I have to convert my number scores to letter scores.

example of ranges: 300 to 400 = A. Is there anyway I can enter all my
ranges for letter grades a, b, c, d, f and the program will return a letter
grade.

I looked in convert and if statements, but couldn't really find it.

Thank you Cindy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default changing score from number to letter grade

Or you could write your own function.


Function Getletter(str)
If str 90 And str < 101 then
Getletter = "A"
ElseIf str 80 And str < 91 then
Getletter = "B"
ElseIf str 70 And str < 81 then
Getletter = "C"
ElseIf str 60 And str < 71
Getletter = "D"
Else
Getletter = "F"
End If


' Select Case str
' Case str 90 And str < 101
' Getletter = "A"
' Case str 80 And str < 91
' Getletter = "B"
' Case str 70 And str < 81
' Getletter = "C"
' Case str 60 And str < 71
' Getletter = "D"
' End Select
End Function

"chayrun" wrote:

I have to convert my number scores to letter scores.

example of ranges: 300 to 400 = A. Is there anyway I can enter all my
ranges for letter grades a, b, c, d, f and the program will return a letter
grade.

I looked in convert and if statements, but couldn't really find it.

Thank you Cindy

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default changing score from number to letter grade

Add a column to the right of your totals and paste this.
=IF(A1325,"A",IF(A1250,"B",IF(A1175,"C",IF(A11 00,"D","F"))))
Change A1 to the column containing your total. Fill down for all totals.
If you don't want the totals to show change the totals column width to zero.

Lou
"Mike" wrote:

Or you could write your own function.


Function Getletter(str)
If str 90 And str < 101 then
Getletter = "A"
ElseIf str 80 And str < 91 then
Getletter = "B"
ElseIf str 70 And str < 81 then
Getletter = "C"
ElseIf str 60 And str < 71
Getletter = "D"
Else
Getletter = "F"
End If


' Select Case str
' Case str 90 And str < 101
' Getletter = "A"
' Case str 80 And str < 91
' Getletter = "B"
' Case str 70 And str < 81
' Getletter = "C"
' Case str 60 And str < 71
' Getletter = "D"
' End Select
End Function

"chayrun" wrote:

I have to convert my number scores to letter scores.

example of ranges: 300 to 400 = A. Is there anyway I can enter all my
ranges for letter grades a, b, c, d, f and the program will return a letter
grade.

I looked in convert and if statements, but couldn't really find it.

Thank you Cindy

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
Formula to compute letter grade based on percentage grade S.Hinkle Excel Discussion (Misc queries) 1 September 3rd 09 07:54 PM
How do you total the number of each letter grade in my math class Indyj Excel Discussion (Misc queries) 1 May 11th 06 03:13 AM
2 Dimensional Lookup by column & rows to return score grade loscherland Excel Discussion (Misc queries) 2 April 18th 06 12:05 PM
Grade Percentage into letter grade James Excel Discussion (Misc queries) 4 December 14th 05 03:24 AM
How can I assign a number value to a letter grade in Excel? BlackBond Excel Worksheet Functions 3 April 5th 05 10:12 PM


All times are GMT +1. The time now is 11:20 AM.

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

About Us

"It's about Microsoft Excel"