Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

I am trying to assign numerical values to grade scores - b+, c- etc, however
when i use lookup like this
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
which I thought would work I get a #N/A message. Can someone tell me where
I'm going wrong? I'm using Excel 2003.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

You omitted the 4th argument, which defaults to TRUE. That means the table has to be sorted ascending.
I think in your case it is best to include the 4th argument as FALSE.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"teacherpaul" wrote in message ...
|I am trying to assign numerical values to grade scores - b+, c- etc, however
| when i use lookup like this
|
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
| which I thought would work I get a #N/A message. Can someone tell me where
| I'm going wrong? I'm using Excel 2003.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

Paul,
modify your formula by using VLOOKUP instead of LOOKUP and add a 0 as
fourth argument.

=VLOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23},FALSE)

HTH
Kostis Vezerides


which I thought would work I get a #N/A message. Can someone tell me where

teacherpaul wrote:
I am trying to assign numerical values to grade scores - b+, c- etc, however
when i use lookup like this
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
which I thought would work I get a #N/A message. Can someone tell me where
I'm going wrong? I'm using Excel 2003.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

Paul,

=INDEX({1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17, 18,19,20,21,22,23},MATCH(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},FALSE))

HTH,
Bernie
MS Excel MVP


"teacherpaul" wrote in message
...
I am trying to assign numerical values to grade scores - b+, c- etc, however
when i use lookup like this
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
which I thought would work I get a #N/A message. Can someone tell me where
I'm going wrong? I'm using Excel 2003.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

Very good! I thought it was VLOOKUP already!

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"vezerid" wrote in message ups.com...
| Paul,
| modify your formula by using VLOOKUP instead of LOOKUP and add a 0 as
| fourth argument.
|
|
=VLOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23},FALSE)
|
| HTH
| Kostis Vezerides
|
|
| which I thought would work I get a #N/A message. Can someone tell me where
| teacherpaul wrote:
| I am trying to assign numerical values to grade scores - b+, c- etc, however
| when i use lookup like this
|
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
| which I thought would work I get a #N/A message. Can someone tell me where
| I'm going wrong? I'm using Excel 2003.
|




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL

Bernie you're a saviour thanx so much

"Bernie Deitrick" wrote:

Paul,

=INDEX({1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17, 18,19,20,21,22,23},MATCH(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},FALSE))

HTH,
Bernie
MS Excel MVP


"teacherpaul" wrote in message
...
I am trying to assign numerical values to grade scores - b+, c- etc, however
when i use lookup like this
=LOOKUP(C5,{"U","G-","G","G+","F-","F","F+","E-","E","E+","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+","A*"},{1,2,3,4,5,6,7,8,9,10,11,12,13,14 ,15,16,17,18,19,20,21,22,23})
which I thought would work I get a #N/A message. Can someone tell me where
I'm going wrong? I'm using Excel 2003.




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
Running Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 06:04 PM
Excel does not display entered values correctly TSL1050 Excel Discussion (Misc queries) 2 January 17th 06 04:00 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM
Missing values in Excel Line Chart mw55309 Charts and Charting in Excel 1 January 19th 05 12:10 PM


All times are GMT +1. The time now is 10:24 PM.

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"