#1   Report Post  
rrucksdashel
 
Posts: n/a
Default vlookup

Is there anyway to search a table indexing on a column that is to the left of
the column I am indexing on?

e.g. I want to find the Number (in case being 1) that is associated with
"A" in this table:

1 A
2 B
3 C


  #2   Report Post  
Dave O
 
Posts: n/a
Default vlookup

=INDEX(A1:B3,MATCH(A5,B1:B3,0),1)
.... where your sample data is in A1:B3 and the letter A is in cell A5.

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default vlookup

Another version:

=INDEX(A1:A3,MATCH(A5,B1:B3,0))

Debra Dalgleish's has some notes you may like at:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://www.contextures.com/xlFunctions03.html (for =index(match()))

rrucksdashel wrote:

Is there anyway to search a table indexing on a column that is to the left of
the column I am indexing on?

e.g. I want to find the Number (in case being 1) that is associated with
"A" in this table:

1 A
2 B
3 C


--

Dave Peterson
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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
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 11: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"