Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teacher
 
Posts: n/a
Default Converting letters to numbers

I am a teacher looking for an easy way to convert letters to numbers. My
students get their grades A - F. To calculate their average grade, I need to
convert the letters to numbers, calculate the average and then back to
letters. Typically the list would look something like this:
Subject 1 Subject 2 Subject 3 Average
John B C A
Mary A B C
Ed A A E

Any takers?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default Converting letters to numbers

"Teacher" wrote in message
...
I am a teacher looking for an easy way to convert letters to numbers. My
students get their grades A - F. To calculate their average grade, I need
to
convert the letters to numbers, calculate the average and then back to
letters. Typically the list would look something like this:
Subject 1 Subject 2 Subject 3 Average
John B C A
Mary A B C
Ed A A E

Any takers?


Try =CHAR(AVERAGE(CODE(B2:D2))) entered as an array formula (Control Shift
Enter)
--
David Biddulph


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Converting letters to numbers

Hi

=MATCH(Grade,{"A";"B";"C";"D";"E";"F"},0)
, or
=MATCH(Grade,{"F";"E";"D";"C";"B";"A"},0)
, depending on order you want the numbers to be. The 1st formula returns
numbers 1 through 6 for grades A through F, the second one returns numbers 6
through 1 for grades A through F. Replace Grade with a passing reference
with grade to convert.

Another possibility:
=CODE(Grade)-64
, or
=-(CODE(Grade)-71)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Teacher" wrote in message
...
I am a teacher looking for an easy way to convert letters to numbers. My
students get their grades A - F. To calculate their average grade, I need
to
convert the letters to numbers, calculate the average and then back to
letters. Typically the list would look something like this:
Subject 1 Subject 2 Subject 3 Average
John B C A
Mary A B C
Ed A A E

Any takers?





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
csv converting numbers to scientific format JR Excel Discussion (Misc queries) 7 June 16th 05 12:13 AM
How do I sort letters before numbers in Excel? RiverGirl Excel Discussion (Misc queries) 4 May 27th 05 04:09 PM
Converting Numbers Richard Excel Discussion (Misc queries) 5 April 15th 05 01:58 AM
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM
roundoff when converting text to numbers Jack Excel Worksheet Functions 3 January 30th 05 01:51 AM


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