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

i am creating a workbook to track assessment details for my classes. As part
of this workbook i am trying to use a vlookup table to convert an assessment
level to a numerical value e.g. 4B converts to 4.33.

My lookup function works fine apart from any level that has the letter A in
it.

My lookup table is as follows

3 3
4C 4
4B 4.33
4A 4.67
5C 5
5B 5.33
5A 5.67
6C 6
6B 6.33
6A 6.67
7C 7
7B 7.33

4A returns an N/A error
5A returns the value of 4A
6A returns the value of 5A

Please can anyone help me resolve this issue

kind regards

Si
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default vlookup

It is a pity you did not show us your formula. My guess would be you did not
enter the fourth argument.

I used =VLOOKUP(A1,K1:L12,2,0) with your data in K1:L12 (ie 3 in K1 and 7.33
in L12)
If you use a formula like this in many cells, it is adviasable to use
absolut reference for the table
=VLOOKUP(A1,$K$1:$L$12,2,0)

I also used =LOOKUP(A1,{"3";"4c";"4b"},{3; 4; 4.33}) You can see I was too
lazy to complete this but the idea should be clear.

best wishes
Bernard Liengme
people.stfx.ca/bliengme

"S Hendry" wrote in message
...
i am creating a workbook to track assessment details for my classes. As
part
of this workbook i am trying to use a vlookup table to convert an
assessment
level to a numerical value e.g. 4B converts to 4.33.

My lookup function works fine apart from any level that has the letter A
in
it.

My lookup table is as follows

3 3
4C 4
4B 4.33
4A 4.67
5C 5
5B 5.33
5A 5.67
6C 6
6B 6.33
6A 6.67
7C 7
7B 7.33

4A returns an N/A error
5A returns the value of 4A
6A returns the value of 5A

Please can anyone help me resolve this issue

kind regards

Si


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default vlookup

Thanx Joel, problem fixed

"Joel" wrote:


Lookup tables havve to be in alpha-numberic order

try
3 3
4A 4.67
4B 4.33
4C 4
5A 5.67
5B 5.33
5C 5
6A 6.67
6B 6.33
6C 6
7B 7.33
7C 7




"S Hendry" wrote:

i am creating a workbook to track assessment details for my classes. As part
of this workbook i am trying to use a vlookup table to convert an assessment
level to a numerical value e.g. 4B converts to 4.33.

My lookup function works fine apart from any level that has the letter A in
it.

My lookup table is as follows

3 3
4C 4
4B 4.33
4A 4.67
5C 5
5B 5.33
5A 5.67
6C 6
6B 6.33
6A 6.67
7C 7
7B 7.33

4A returns an N/A error
5A returns the value of 4A
6A returns the value of 5A

Please can anyone help me resolve this issue

kind regards

Si

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default vlookup


Lookup tables havve to be in alpha-numberic order

try
3 3
4A 4.67
4B 4.33
4C 4
5A 5.67
5B 5.33
5C 5
6A 6.67
6B 6.33
6C 6
7B 7.33
7C 7




"S Hendry" wrote:

i am creating a workbook to track assessment details for my classes. As part
of this workbook i am trying to use a vlookup table to convert an assessment
level to a numerical value e.g. 4B converts to 4.33.

My lookup function works fine apart from any level that has the letter A in
it.

My lookup table is as follows

3 3
4C 4
4B 4.33
4A 4.67
5C 5
5B 5.33
5A 5.67
6C 6
6B 6.33
6A 6.67
7C 7
7B 7.33

4A returns an N/A error
5A returns the value of 4A
6A returns the value of 5A

Please can anyone help me resolve this issue

kind regards

Si

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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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