+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    01-25-2009
    Location
    NY
    MS-Off Ver
    Excel 2003 SP3
    Posts
    24

    Cool Variation from Vlookup, cannot match rightmost column

    I am currently using VLOOKUP taking the data in column A and matching it to a worksheet which also has a matching number in columnA. Then populating fields in the first worksheet based on the position of the desired data. Works great.

    However, I found out that the data MUST be the first column! I have a field that I need to do the same type of match but, it cannot be in the first column in the worksheet. There must be a way to do this! Added an illustration which probably makes this a little clearer.
    Attached Images Attached Images
    Last edited by gia42; 05-20-2009 at 11:35 AM. Reason: resolved

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,069

    Re: Variation from Vlookup, cannot match rightmost column

    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    01-25-2009
    Location
    NY
    MS-Off Ver
    Excel 2003 SP3
    Posts
    24

    Re: Variation from Vlookup, cannot match rightmost column

    I am confused. I posted this in worksheet functions. I didn't at least intentionally post it on any other forums. What or how did I do it wrong?

  4. #4
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,069

    Re: Variation from Vlookup, cannot match rightmost column

    I will move it for you...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,069

    Re: Variation from Vlookup, cannot match rightmost column

    I am kind of confused about your setup, etc.. but the alternative to Vlookup to look leftwards is Index/Match

    e.g.

    =Index(A1:A10,Match(X1,B1:B10,0))

    where X1 needs to be matched to item in column B, but extract from column A...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  6. #6
    Registered User
    Join Date
    01-25-2009
    Location
    NY
    MS-Off Ver
    Excel 2003 SP3
    Posts
    24

    Re: Variation from Vlookup, cannot match rightmost column

    The example I gave you was terrible. I am part of the way there, but still having trouble. Here is my current function, which yeilds an error #N/A.
    =INDEX(G2:G10,MATCH(APPTABLE!H3,H3:H50,0))

    The data to match is in column G in a worksheet named "application rem". The data I want is in another worksheet named "apptable". The matching value is in column A. The data I am attempting to pull in is in column H.


    Can you tell me how to successfully point to the data in the other worksheet?

  7. #7
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,069

    Re: Variation from Vlookup, cannot match rightmost column

    Probably:

    =INDEX('application rem'!H3:H50,MATCH(APPTABLE!G3,'application rem'!A3:A50,0))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  8. #8
    Registered User
    Join Date
    01-25-2009
    Location
    NY
    MS-Off Ver
    Excel 2003 SP3
    Posts
    24

    Re: Variation from Vlookup, cannot match rightmost column

    Thank you so much. Now I understand how this function is supposed to work! The help document makes it so much more difficult than it is! I really appreciate your quick responses and helpful information. The scales won't let me click on your reputation. Said I need to spread it around more first! Not fair!

  9. #9
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,069

    Re: Variation from Vlookup, cannot match rightmost column

    Quote Originally Posted by gia42 View Post
    Thank you so much. Now I understand how this function is supposed to work! The help document makes it so much more difficult than it is! I really appreciate your quick responses and helpful information. The scales won't let me click on your reputation. Said I need to spread it around more first! Not fair!
    You are welcome...

    Yeah, the whole reputation system is flawed anyways.. so don't worry about.. but thanks for the thought and consideration.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

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.2.0