+ Reply to Thread
Results 1 to 4 of 4

Vlookup to return multiple columns across two sheets

  1. #1
    Registered User
    Join Date
    01-15-2020
    Location
    Cleveland, Ohio
    MS-Off Ver
    2016
    Posts
    18

    Vlookup to return multiple columns across two sheets

    Hello,

    Attached you will find my spreadsheet with two sheets. I am trying to write a vlookup B14 on Sheet 2 to populate B14-G14, pulling from the first sheet. Is there any way to return multiple columns from a different sheet using vlookup? I am basing my lookup on column a from both sheets. Please help!!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Vlookup to return multiple columns across two sheets

    You can use this formula in B14 of the sheet named Table:

    =IFERROR(VLOOKUP($A14,'Table 1'!$A:$H,COLUMNS($A:B),0),"")

    That cell is formatted as Text, so you need to format it as General, then you can copy the formula across into C14:H14, and then copy that row of formulae down as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-15-2020
    Location
    Cleveland, Ohio
    MS-Off Ver
    2016
    Posts
    18

    Re: Vlookup to return multiple columns across two sheets

    One last question for you! how do I store formulas on a third sheet in order to cut and paste them into the proper locations on the first two sheets via VBA? everytime I try to copy/paste the formula changes.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Vlookup to return multiple columns across two sheets

    Just ensure that they are in the same relative position on Sheet3. So, the formula that I gave you above can be copied into cell B14 of Sheet3, and when you copy it back it also goes into cell B14 of the Table sheet, so the cell references do not change.

    Hope this helps.

    Pete

    P.S. If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 07-15-2019, 11:32 AM
  2. [SOLVED] Vlookup across multiple sheets, return value with conditional formatting
    By TheYoungDrea in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-02-2017, 07:49 AM
  3. Return non blanks from multiple columns in multiple sheets
    By msj12345 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-03-2015, 02:31 AM
  4. Replies: 1
    Last Post: 03-13-2015, 09:39 AM
  5. Vlookup function to return multiple values from multiple sheets
    By bsamant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:31 AM
  6. VLOOKUP - Return multiple columns
    By ScaniaR730 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-15-2012, 09:41 AM
  7. VLOOKUP to look through multiple sheets and return the sheet names
    By ackimbrough in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2011, 03:55 PM

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