+ Reply to Thread
Results 1 to 10 of 10

VLOOKUP between sheets

Hybrid View

  1. #1
    Registered User
    Join Date
    12-28-2015
    Location
    France
    MS-Off Ver
    MS Office Professional Plus 2010
    Posts
    19

    VLOOKUP between sheets

    OK, I have three sheets on an excel spreadsheet.

    I want to lookup the value from sheet 3 column G; find it in column B of sheet 1.
    I then want the values from sheet 1 of the columns A, B, C & D (where the match was found) to be copied to sheet 3.
    Any idea how I do this please ?

    I tried this : =VLOOKUP(G5,'Main spreadsheet'!B2:B204, 3, FALSE)
    but it didn't work.

    Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: VLOOKUP between sheets

    Please supply a sample workbook with expected outcomes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-28-2015
    Location
    France
    MS-Off Ver
    MS Office Professional Plus 2010
    Posts
    19

    Re: VLOOKUP between sheets

    sheet 1.png

    sheet 3.png

    Sheet 1 and sheet 3 pics above, hope that helps.
    The row on sheet 3 with 198 and the numbers and name are how I want it to look if possible.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: VLOOKUP between sheets

    Now, here's the bad news. You can't use VLOOKUP to return something to the left (Col A in this case) of what you are looking up (Col B).
    Yes, you can! Have a look here:

    http://www.excelforum.com/excel-tips...d-vlookup.html

    INDEX MATCH is easier, though.

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

    Re: VLOOKUP between sheets

    You're asking Excel to return the third column of your range and then you give the range as B2:B204 (1 column). So if you want to return col D, it would be

    =VLOOKUP(G5,'Main spreadsheet'!B2:D204, 3, FALSE)

    Now, here's the bad news. You can't use VLOOKUP to return something to the left (Col A in this case) of what you are looking up (Col B). You will need to switch to INDEX/MATCH or move column B to A.
    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

  6. #6
    Registered User
    Join Date
    12-28-2015
    Location
    France
    MS-Off Ver
    MS Office Professional Plus 2010
    Posts
    19

    Re: VLOOKUP between sheets

    Brilliant, many thanks, that works perfectly

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: VLOOKUP between sheets

    Can you not provide the workbook rather than expecting us to recreate it ourselves? Also, you need to show expected outcomes, not error messages.

  8. #8
    Registered User
    Join Date
    12-28-2015
    Location
    France
    MS-Off Ver
    MS Office Professional Plus 2010
    Posts
    19

    Re: VLOOKUP between sheets

    I did show expected outcomes, it's just I had the formula in there and got the error, so that's on the line below!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: VLOOKUP between sheets

    Quote Originally Posted by Hammond View Post
    I did show expected outcomes, it's just I had the formula in there and got the error, so that's on the line below!
    Sorry! I thought they were column headings. However, next time, save time and attach a sample workbook instead.

    Brilliant, many thanks, that works perfectly
    Who are you thanking? I presume ChemistB?

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

    Re: VLOOKUP between sheets

    @ AliGW,
    Yes, I had seen that trick (although admittedly, I don't have it memorized since I never use it). I just wasn't about to try to explain it to a novice. That is a good thread link though. Thanks AliGW.

+ 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. Vlookup between sheets
    By motz_the_lr3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2015, 07:28 AM
  2. vlookup between two sheets
    By Susht in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2014, 11:39 AM
  3. Replies: 8
    Last Post: 03-30-2011, 11:09 AM
  4. IF and VLOOKUP in 12 sheets
    By mscola in forum Excel General
    Replies: 7
    Last Post: 02-16-2011, 04:48 PM
  5. Vlookup across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  6. Vlookup sheets
    By tonijel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2008, 06:59 PM
  7. [SOLVED] vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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