+ Reply to Thread
Results 1 to 6 of 6

Vlookup to gather data from 3 sheets

  1. #1
    Registered User
    Join Date
    08-25-2011
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Vlookup to gather data from 3 sheets

    Hello,

    I need some assistance with a Vlookup that will look at 3 sheets. I have a formula that currently looks at 2 sheets and gathers the data but I can't figure out how to adjust the formula to look at the 3rd sheet.

    This is the formula that I have that works to bring in data from 2 sheets.

    =IF(ISNA(VLOOKUP(A2,SHEET2,2,0)),VLOOKUP(A2,SHEET3,2,0),VLOOKUP(A2,SHEET2,2,0))


    The following formula is what I came up so far but I get a value of FALSE when the vlookup looks at the 3rd sheet.

    =IF(ISNA(VLOOKUP(A2,SHEET2,2,0)),IF(ISNA(VLOOKUP(A2,SHEET3,2,0)),IF(ISNA(VLOOKUP(A2,SHEET4,2,0)),VLOOKUP(A2,SHEET4,2,0)),VLOOKUP(A2,SHEET3,2,0)),VLOOKUP(A2,SHEET2,2,0))



    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Vlookup to gather data from 3 sheets

    try
    =iferror((VLOOKUP(A2,SHEET2,2,0),iferror((VLOOKUP(A2,SHEET3,2,0),(VLOOKUP(A2,SHEET4,2,0)))

    Iferror do not work in excel 2003 or earlier versions



    If your problem is not solved, upload a sample workbook with sample data and your desired results

    In order to attach a file Click the Go Advanced button, and click on the Manage Attachments button
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

  3. #3
    Registered User
    Join Date
    08-25-2011
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Vlookup to gather data from 3 sheets

    Thanks Azam for the suggestion. However it didn't work I keep getting a message that says there is a error with the formula.

    Thanks

    Wallace

  4. #4
    Registered User
    Join Date
    10-14-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Vlookup to gather data from 3 sheets

    Its probably the wrong place but can anyone please guide to me a tutorial of formulas, I am pathetic at using them..

  5. #5
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Vlookup to gather data from 3 sheets

    Hi Wallace

    If your problem is not solved, upload a sample workbook with sample data and your desired results

    In order to attach a file Click the Go Advanced button, and click on the Manage Attachments button

  6. #6
    Registered User
    Join Date
    08-25-2011
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Vlookup to gather data from 3 sheets

    Thanks guys. I found the problem I needed an extra comma after the final vlookup IFstatement.

    =IF(ISNA(VLOOKUP(A2,sheet2,2,0)),
    IF(ISNA(VLOOKUP(A2,sheet3,2,0)),
    IF(ISNA(VLOOKUP(A2,sheet4,2,0)),,
    VLOOKUP(A2,sheet4,2,0)),
    VLOOKUP(A2,sheet3,2,0)),
    VLOOKUP(A2,sheet2,2,0))

+ 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