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

I'm using the LOOKUP vector function to ascribe text data to numeric values
(e.g. returning "2a" for the number "15") successfully. I want to be able to
operate the LOOKUP table in reverse (i.e. return "15" for a value entered of
"2a") but it is not working accurately. I either get an error message or an
incorrect value from elsewhere in the LOOKUP table. The text values take the
form: 1c, 1b, 1a, 2c, 2b, 2a etc. Is this the problem?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default LOOKUP problems

For LOOKUP the values must be in ascending order:
1a,1b,1c..... etc

"Martin Ledgard" wrote:

I'm using the LOOKUP vector function to ascribe text data to numeric values
(e.g. returning "2a" for the number "15") successfully. I want to be able to
operate the LOOKUP table in reverse (i.e. return "15" for a value entered of
"2a") but it is not working accurately. I either get an error message or an
incorrect value from elsewhere in the LOOKUP table. The text values take the
form: 1c, 1b, 1a, 2c, 2b, 2a etc. Is this the problem?

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

Yep - solved it now. Cheers.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default LOOKUP problems

You can also use VLOOKUP and use any order as long as you put FALSE or 0
as the 4th argument in the formula

=VLOOKUP(A2,{"1c",15;"1b",15;"1a",15;"2c",15;"2b", 15;"2a",15},2,0)


as an example


--
Regards,

Peo Sjoblom



"Martin Ledgard" wrote in message
...
Yep - solved it now. Cheers.



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
Problems with LOOKUP ExcelMonkey Excel Worksheet Functions 7 January 10th 07 06:27 PM
v-lookup problems DF Excel Worksheet Functions 0 June 6th 06 10:36 PM
Lookup problems JaB Excel Worksheet Functions 2 September 22nd 05 12:33 PM
lookup problems nrussell New Users to Excel 9 May 31st 05 01:14 PM
lookup problems O'C Excel Worksheet Functions 11 November 8th 04 03:09 PM


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