+ Reply to Thread
Results 1 to 4 of 4

find data based NOT on the first column of my array

  1. #1
    Forum Contributor
    Join Date
    03-04-2013
    Location
    Europe
    MS-Off Ver
    Office 365 ProPlus
    Posts
    147

    find data based NOT on the first column of my array

    Hi,

    I am trying to look for a value, x, which is located somewhere in my array Y of several rows and columns. Value x is located somewhere in column 4 in array Y. Once x is located i want to return the value in the same row as x but in column 1. It's kind off a reversal of your typical use of vlookup. Since vlookup can only be used when i'm looking for a value in column 1 (??) ("The value to be found in the first column of the array.") How can i do this?

    If my question is unclear i attached a simple example workbook. I have colors "linked" to the number 1-10. I can easily find the color linked to a number (columns D and E) but how can I find the corresponding number to a color (space to solve in column H)
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: find data based NOT on the first column of my array

    In H1 of that book and filled down..

    =INDEX($A$1:$A$10,MATCH(G1,$B$1:$B$10,0))

  3. #3
    Forum Contributor
    Join Date
    03-04-2013
    Location
    Europe
    MS-Off Ver
    Office 365 ProPlus
    Posts
    147

    Re: find data based NOT on the first column of my array

    Awesome! Thanks Jonmo1! Kind off weird how vlookup can't do this..

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: find data based NOT on the first column of my array

    Great, glad to help.

    Quote Originally Posted by vizzkid View Post
    Awesome! Thanks Jonmo1! Kind off weird how vlookup can't do this..
    Yep, Vlookup is Zoolander challenged.
    But Index/Match is better anyway. Much more flexible.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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