Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can Vlookup search at left hand side of the table?

Dear Sir,

Is there a way to lookup for data at the left hand side of the search value?

I try using =VLOOKUP (A1,C$20:D22,-2,FALSE) as illustrated below, but it
does not work.

A B
Lookup value Data (Answer)
1 ND000236 =VLOOKUP (A1,C$20:D$22,-2,FALSE) Answer : PKHLK050
2 ND000237


Look up table

A B C D
20 PKHLK050 05/04/2007 ND000236 (155.00)
21 PKHLB390 18/04/2007 ND000237 200.00
22 PKHLT041 18/04/2007 ND000238 50.00

Is there any other formulas for this function , other than relocating column
A at the right hand side of column C and applying the formula in the usual
way ? (i.e. column index number must be = 1)


Thanks


Low










--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel 2002: Can Vlookup search at left hand side of the table?

Think it's easier to use INDEX/MATCH here ..

Try in B1:
=INDEX($A$20:$A$22,MATCH(A1,$C$20:$C$22,0))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mr. Low" wrote:
Dear Sir,

Is there a way to lookup for data at the left hand side of the search value?

I try using =VLOOKUP (A1,C$20:D22,-2,FALSE) as illustrated below, but it
does not work.

A B
Lookup value Data (Answer)
1 ND000236 =VLOOKUP (A1,C$20:D$22,-2,FALSE) Answer : PKHLK050
2 ND000237


Look up table

A B C D
20 PKHLK050 05/04/2007 ND000236 (155.00)
21 PKHLB390 18/04/2007 ND000237 200.00
22 PKHLT041 18/04/2007 ND000238 50.00

Is there any other formulas for this function , other than relocating column
A at the right hand side of column C and applying the formula in the usual
way ? (i.e. column index number must be = 1)


Thanks


Low

--
A36B58K641

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can Vlookup search at left hand side of the table?

Hello Max,

Thanks for the formula.

Low


--
A36B58K641


"Max" wrote:

Think it's easier to use INDEX/MATCH here ..

Try in B1:
=INDEX($A$20:$A$22,MATCH(A1,$C$20:$C$22,0))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mr. Low" wrote:
Dear Sir,

Is there a way to lookup for data at the left hand side of the search value?

I try using =VLOOKUP (A1,C$20:D22,-2,FALSE) as illustrated below, but it
does not work.

A B
Lookup value Data (Answer)
1 ND000236 =VLOOKUP (A1,C$20:D$22,-2,FALSE) Answer : PKHLK050
2 ND000237


Look up table

A B C D
20 PKHLK050 05/04/2007 ND000236 (155.00)
21 PKHLB390 18/04/2007 ND000237 200.00
22 PKHLT041 18/04/2007 ND000238 50.00

Is there any other formulas for this function , other than relocating column
A at the right hand side of column C and applying the formula in the usual
way ? (i.e. column index number must be = 1)


Thanks


Low

--
A36B58K641

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel 2002: Can Vlookup search at left hand side of the table?

Welcome, Low.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mr. Low" wrote in message
...
Hello Max,
Thanks for the formula.
Low



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
Losing count on bottom left hand side when filtering - HELP!!! Elaine Excel Discussion (Misc queries) 3 July 14th 06 01:50 PM
y-axis moves from the left hand side to the right hand side JP Excel Discussion (Misc queries) 1 March 13th 05 04:43 PM
y-axis moves from the left hand side to the right hand side! JP Charts and Charting in Excel 1 March 11th 05 12:29 AM
How do I get my y axis on the left hand side of my chart? Aneleh Charts and Charting in Excel 3 February 8th 05 04:17 PM
VLookup ... Left side? Ken Excel Worksheet Functions 1 January 25th 05 12:25 PM


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