Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Help with Index / Match function

I cannot get this to work... also my first ever attempt using Index &
Match

=INDEX(LinkedAttribs2003!$B$2:$B$59,MATCH(A2,Linke dAttribs2003!$A$2:$A
$59,0),MATCH($B$1,$2:$2,0))


within same XLS... 2 sheets (Mappings & LinkedAttribs2003)

Mapping has 2 columns like this... Attribute | LinkID

LinkedAttribs2003 has 2 columns like this... ldapdisplayname |
LinkID

Since the LinkedAttribs2003 sheet has less, there is no a 1-1 match
with Mappings; thus I want to search the LinkedAttribs2003
'ldapdisplayname' column for a match to the 'Attribute' column in
Mappings. If there is a match, then pull the LinkID from
LinkedAttribs2003 and populate the corresponding 'LinkID' on the
appropriate 'Attribute'

thanks in advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Help with Index / Match function

I think you need VLOOKUP:

=VLOOKUP(A2,LinkedAttribs2003!$A$2:$B$59,2,0)

This will return the LinkID corresponding to the matched "Attribute" (A2)

In case of error (no match)

=IF(ISNA(VLOOKUP(A2,LinkedAttribs2003!$A$2:$B$59,2 ,0)),"No
match",VLOOKUP(A2,LinkedAttribs2003!$A$2:$B$59,2,0 ))


HTH

"Livin" wrote:

I cannot get this to work... also my first ever attempt using Index &
Match

=INDEX(LinkedAttribs2003!$B$2:$B$59,MATCH(A2,Linke dAttribs2003!$A$2:$A
$59,0),MATCH($B$1,$2:$2,0))


within same XLS... 2 sheets (Mappings & LinkedAttribs2003)

Mapping has 2 columns like this... Attribute | LinkID

LinkedAttribs2003 has 2 columns like this... ldapdisplayname |
LinkID

Since the LinkedAttribs2003 sheet has less, there is no a 1-1 match
with Mappings; thus I want to search the LinkedAttribs2003
'ldapdisplayname' column for a match to the 'Attribute' column in
Mappings. If there is a match, then pull the LinkID from
LinkedAttribs2003 and populate the corresponding 'LinkID' on the
appropriate 'Attribute'

thanks in advance!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Help with Index / Match function

Your formula works for me, but you have to have the same value in A2 and B1.

Take a look at these:

http://www.ozgrid.com/Excel/left-lookup.htm

http://www.contextures.com/xlFunctions03.html

http://office.microsoft.com/en-us/ex...549021033.aspx



--
RyGuy


"Livin" wrote:

I cannot get this to work... also my first ever attempt using Index &
Match

=INDEX(LinkedAttribs2003!$B$2:$B$59,MATCH(A2,Linke dAttribs2003!$A$2:$A
$59,0),MATCH($B$1,$2:$2,0))


within same XLS... 2 sheets (Mappings & LinkedAttribs2003)

Mapping has 2 columns like this... Attribute | LinkID

LinkedAttribs2003 has 2 columns like this... ldapdisplayname |
LinkID

Since the LinkedAttribs2003 sheet has less, there is no a 1-1 match
with Mappings; thus I want to search the LinkedAttribs2003
'ldapdisplayname' column for a match to the 'Attribute' column in
Mappings. If there is a match, then pull the LinkID from
LinkedAttribs2003 and populate the corresponding 'LinkID' on the
appropriate 'Attribute'

thanks in advance!


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
Match and Index function Gary Reger Excel Worksheet Functions 2 February 15th 07 07:24 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
index match function help me vlookup help pls Excel Worksheet Functions 3 March 2nd 06 08:11 AM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
index / match function Lisa Excel Worksheet Functions 3 April 1st 05 05:03 AM


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