+ Reply to Thread
Results 1 to 4 of 4

Vlookup 2 sheets and return values in rows

  1. #1
    Registered User
    Join Date
    07-21-2010
    Location
    San Jose, CA
    MS-Off Ver
    Excel 2003
    Posts
    24

    Vlookup 2 sheets and return values in rows

    Hello everyone,

    I could use a little help with an easy Vlookup problem. I'v searched but have not found exactly what I'm looking for. I'm looking for a very easy and simple formula to lookup values from sheet 1 in sheet 2 and 3. If it does not find the value in sheet 2 I would like it to look in sheet 3 where it will find it (or vice versa) and return certain cells. Sound simple but have been trying for a hour.

    Thank you in advance for your help

    enclosed is a sample file "Vlookup 2 sheets.xls"

    Bob
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup 2 sheets and return values in rows

    Try:

    Please Login or Register  to view this content.
    copied across and down the table.
    Where there is a will there are many ways.

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

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

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Vlookup 2 sheets and return values in rows

    I'm looking for a very easy and simple formula
    LOL, aren't we all. Try this formula in B5

    =IF(ISNUMBER(MATCH(A5,Sheet2!$F$5:$F$14,0)) ,VLOOKUP(A5,Sheet2!$F$5:$I$14,2,FALSE),VLOOKUP(A5,Sheet3!$F$5:$I$14,2,FALSE))

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    07-21-2010
    Location
    San Jose, CA
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Vlookup 2 sheets and return values in rows

    Thank you Guru.....

    It worked great on the sample but it still took me a while to incorporate that into what I had. BUT IT WORKS. Thank you

+ 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