Consulting

Results 1 to 4 of 4

Thread: index match between 2 workbooks

  1. #1
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location

    index match between 2 workbooks

    Havent posted in a few years. In the attached workbooks I would like to do an index match from workbook 2 to workbook 1 to return column 3. Have tried VLOOKUP without any success and dont really understand index and match that well. Any help and explanation appreciated in advance.
    Attached Files Attached Files

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    if you want the Row number in Book2, column 3, that has the matching value in book 1? Just use MATCH where column "C" is the LookupArray

    If you want the value in a different column of book2 in the same Row that MATCH returns, use INDEX+MATCH where MATCH is the Row reference for INDEX.

    I think
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Quote Originally Posted by SamT View Post
    if you want the Row number in Book2, column 3, that has the matching value in book 1? Just use MATCH where column "C" is the LookupArray

    If you want the value in a different column of book2 in the same Row that MATCH returns, use INDEX+MATCH where MATCH is the Row reference for INDEX.

    I think
    I think a sample would be most helpful and appreciated

  4. #4
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    I tried this but I get a Value is not available error:

    =INDEX('[Que 8-28.xlsx]Data sheet'!$B$8:B$35,MATCH(E240,'[Que 8-28.xlsx]Data sheet'!$D$8:D$35,0))
    Peace of mind is found in some of the strangest places.

Posting Permissions

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