+ Reply to Thread
Results 1 to 5 of 5

Google Sheets: Vlookup multiple values on different sheets

  1. #1
    Registered User
    Join Date
    12-30-2021
    Location
    United States
    MS-Off Ver
    2016
    Posts
    2

    Google Sheets: Vlookup multiple values on different sheets

    I’m working with an excel sheet with 11k rows that has some duplicate values that have different amounts. In most cases the duplicates have 2-3 different amounts that I need to review. I want to know if there is a formula that can pull all of the duplicate values and their various amounts from one sheet to another.

    Right now I tried using a normal Vlookup formula (=vlookup(a2,sheet1!A:F, 1, false) and it only pulls the first value and its amount that it finds on the table it’s searching. I need a formula that will pull the values and all the different amounts but I can’t quite figure out how to structure the formula.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Vlookup multiple values on different sheets

    Hi
    First make a list of sheet names somewhere say in range J1:J10
    Then in B1 enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I used XXX because you did not say in which column the amount is situated, so replace XXX with the column number ( which cannot be 1)
    Now pull down as required

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Vlookup multiple values on different sheets

    If you want multiple results, use this, copied across and down:

    =IFERROR(INDEX(Sheet1!A:A,AGGREGATE(15,6,ROW(Sheet1!$A$2:$A$30)/(Sheet1!$A$2:$A$30=$B$1),ROWS(A$4:A4))),"")

    see file for layout used.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    12-30-2021
    Location
    United States
    MS-Off Ver
    2016
    Posts
    2

    Re: Vlookup multiple values on different sheets

    Hi Everyone, I really appreciate all of the quick replies but I think I might have to provide some clarity here so the formula works a little bit better.
    I attached an example of what the data I'm working with looks like, but essentially I'm working with the same data but it's come from 2 different sources (Interview file data & survey file data). The 3rd sheet in my excel book is for me to audit the 2 different data sources against each other.
    On the audit sheet the first 3 columns (A,B,C) only need to be copied over from the respective tab that is listed but the next two columns (D, E) need a formula that will look for column A on sheet 2 and pull whatever the amount & currency that is listed on sheet 2 onto the audit sheet (Sheet 2 titled "survey file data").

    I think it's also important to note that I'm working out of Google sheets not excel, so I struggled with the previous formula given because google sheets doesn't have the aggregate formula.
    If you all aren't able to help with Google Sheets then I can take an excel specific formula but Google sheets would be the best. All of the help with this is much appreciated since I'm no excel guru!
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: Google Sheets: Vlookup multiple values on different sheets

    I think it's also important to note that I'm working out of Google sheets not excel, ...
    Not just important: essential!

    I've moved and retitled your thread according to this revelation.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] Google Sheets - Vlookup Multiple Cells Total
    By Sch123 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 11-15-2021, 10:58 PM
  2. Google Sheets. Can I connect offline data from excel to google sheets?
    By drlemur39 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 11-15-2021, 10:40 AM
  3. [SOLVED] [GOOGLE SHEETS] Counting Occurrence in Conjunction with Name on Multiple Sheets
    By theexcelnovice123 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 11-04-2021, 01:38 PM
  4. Google Sheets: how do you make multiple pages/versions without more sheets
    By Vantropix in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 07-24-2021, 08:57 AM
  5. Google Sheets: how do you make multiple pages/versions without more sheets
    By Vantropix in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-13-2021, 10:26 PM
  6. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  7. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02: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