+ Reply to Thread
Results 1 to 7 of 7

Vlookup based on two cells to populate from multiple sheets?

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    Isle of Man
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    82

    Vlookup based on two cells to populate from multiple sheets?

    I need a spreadsheet formula that will populate depending on the contents of cell A2 and B2. I already have a formula which will populate using A2 alone. The theory being that I could type something in A2 and it would populate from Sheet2 with that row. However, I need this to work across multiple sheets?

    For example, if I typed into cell A2 and then put a date into B2, I want the rest of the row to populate from that specific sheet? If that makes sense. I'm sorry, I know I'm explaining this very poorly but I've attached a spreadsheet which might be easier to understand?

    Temp.xlsx

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

    Re: Vlookup based on two cells to populate from multiple sheets?

    Hi there. To make this work (using my suggestion), you need to changet eh format of your sheet names, as shown. You then neeed to use a combination of indirect and a text function to make the date match the sheetname (the Tab won't accept a / ).

    Try it out...
    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

  3. #3
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Vlookup based on two cells to populate from multiple sheets?

    See attached for a slightly different method in which you wouldn't have to change your sheet name format.

    Hope this helps!
    Attached Files Attached Files
    Last edited by mcmahobt; 01-07-2015 at 12:29 PM.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

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

    Re: Vlookup based on two cells to populate from multiple sheets?

    That's a nice alternative approach. However, i went "My Way" so that the date in the tracker sheet is actually a date, and not a number that looks like a date, s that other manipulations could bne made using the date field.

  5. #5
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Vlookup based on two cells to populate from multiple sheets?

    Yup, still gets the job done. Just an alternate form; good work!

  6. #6
    Registered User
    Join Date
    11-25-2014
    Location
    Isle of Man
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    82

    Re: Vlookup based on two cells to populate from multiple sheets?

    Both brilliant answers, thank you! :D I was hardly expecting anyone to be able to understand what I needed, thanks!

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

    Re: Vlookup based on two cells to populate from multiple sheets?

    One enhancement, with a nod to mcmahobt. He was right to choose an INDEX-MATCH, rather than a VLOOKUP (more robust). So, I've combined his formula and mine to give you a better solution. Enjoy...
    Attached Files Attached Files

+ 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. populate multiple sheets based on a criteria
    By ceussk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2015, 04:05 PM
  2. Replies: 5
    Last Post: 11-14-2014, 04:09 PM
  3. [SOLVED] How to auto populate cells on multiple sheets dependant on the information from another
    By MIKETALEA in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-03-2014, 05:51 PM
  4. How to populate cells in multiple sheets based on info from another sheet
    By MIKETALEA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-03-2014, 05:38 PM
  5. Populate cells on multiple sheets based on list
    By jhammond10 in forum Excel General
    Replies: 4
    Last Post: 06-30-2013, 04:16 PM

Tags for this Thread

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