+ Reply to Thread
Results 1 to 3 of 3

Using INDEX and MATCH

  1. #1
    Registered User
    Join Date
    06-25-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Using INDEX and MATCH

    Hello everyone, I have two active worksheets. The first one is called 'Chart' and the second is 'Values'.

    I have three columns of data. I would like to look in the first two, and return a value in the third.


    =INDEX(Values!$C$1:$C$299,MATCH(Values!$D$1:$D$299,LEFT(Chart!A1:A16091,6)&" "&LEFT(Chart!C1:C16091,2)),0)

    Values!$C$1:$C$299 => Result Matrix

    Values!$D$1:$D$299 => Result of the concatenation of Column 1 with Column 2. So the result is like Column1_Space_Column2

    LEFT(Chart!A1:A16091,6) => Cloumn1

    LEFT(Chart!C1:C16091,2) => Cloumn2

    I suspect that I am doing something wrong in the highlighted area. Any help is appreciated.
    Last edited by estein; 06-25-2009 at 07:54 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using INDEX and MATCH

    Hi,

    It would be easier to comment if we had an example, but if I've understood you correctly, I think you need a helper column which concatenates the values in the first two columns. You can then use a standard VLOOKUP, to search this helper column and return the value from the third column.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-25-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Using INDEX and MATCH

    For E.g. in Match formula, MATCH(lookup_value,lookup_array,match_type)

    Can I use a range of arrays ($D$1:$D$299) for the lookup_value ? If there is a way around, then my problem is solved.

    -------------------------------------------------------------------------------------------------------------------------

    As you have mentioned, I tried using VLOOKUP

    =VLOOKUP(LEFT(Chart!A1:A16091,6)&" "&LEFT(Chart!C1:C16091,2),Values!C:D,2,FALSE)

    I got it!
    Thank you for your help.
    Last edited by estein; 06-25-2009 at 07:55 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1