+ Reply to Thread
Results 1 to 16 of 16

Auto Populate New Sheet Based on Data from Multiple Other Sheets

  1. #1
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Question Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Hello - new here,

    I use Excel 2010.I've attached a copy of an example workbook. Backlog Queues - Example.xlsx

    I am trying to create a worksheet that will display my "backlog" calls based on data from several other sheets within the same workbook. A call is backlogged if it hits a certain date without a first, second or third attempt being made on it. For example:

    Date Exam # of Calls
    4/21/15 MRI 0 Attempts
    4/15/15 XR 2 Attempts
    4/24/15 CT 1 Attempt

    Etc... there are about 12 sheets (separated by exam type) that all have the same columns.

    Now what I'd like the new worksheet to display is all of the rows that show 0 Attempts from 2+ days ago from today (would be auto changing the date), 1 Attempt from 5+ days ago from today & 2 Attempts from 8+ days ago from today.

    From the above 3 fields, it should display the row for 4/21 & 4/15 but NOT 4/24 (based on today's date of 4/25).

    Is this possible in Excel?? Any & all help is appreciated!

    Backlog Queues - Example.xlsx

    -Nate

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    This can probably be done with MACROS. It is OK for you?
    Also, in your Backlog sheet, you have the column Title. But this colum does not exist on the other sheets.
    What should be placed there?
    Also, all columns of other sheets are present in your Backlog. Are you sure you give us the right sheets format?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10
    Quote Originally Posted by p24leclerc View Post
    This can probably be done with MACROS. It is OK for you?
    Also, in your Backlog sheet, you have the column Title. But this colum does not exist on the other sheets.
    What should be placed there?
    Also, all columns of other sheets are present in your Backlog. Are you sure you give us the right sheets format?
    Hi p24, thanks for your reply. I removed the other columns from the Coumadin & CT sheets but forgot to remove the request to only pull certain columns. Title can be removed from the backlog sheet also. Sorry for the confusion.

    A macro would be fine, but I'm not very familiar with Visual Basic to write the code for it.

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    See attached workbook if it works for you.
    I created a button you just click when you want to create your backlog.
    The actual backlog is erased before processing the new data.
    I just hope I understood well your criteria.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    This works great Pierre! Thank you!

    Is it pulling by business days only when it does the 2, 5 & 8 day lookups?
    Last edited by NateD; 04-26-2015 at 03:23 PM.

  6. #6
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Yes it is. I forgot to sort the data. Would you like it done?

  7. #7
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Is it possible to sort the original worksheets with the same macro before it pulls the rows to the "Backlog" sheet? When I divide the data up after the macro, I need to have it sorted by exam, then order priority (STAT/Emergency/ASAP/Routine) then # of calls (0/1/2). The sheets can be sorted manually first, but if a macro could do it all at once, it would save sorting 15 sheets separately.

    If the macro cannot sort the other sheets before pulling the rows, I would like to see it sorted like this on the "Backlog":
    -Procedure
    -Order Priority
    -# of Calls
    -Order Date

    Thanks again for your help!

  8. #8
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Here it is.
    I sorted every sheet by Priority then by # Calls then by Date.
    I copied the sheet name in column I of Backlog that I renamed "Exam".
    And the Backlog is first sorted by Exam then the other 3 orders.
    Is it OK for you? If not, just tell me what to change.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Looks good to me! I really appreciate the help Pierre!

  10. #10
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Pierre,
    When adding other worksheets & more data, it appears to cause a problem with the "Backlog" sheet. Here is a new version with the added sheets. When you hit "Create Backlog" it causes several blank rows with the "Exam" column filled in still based on the other worksheets that have no data. This also has the added columns that I had removed previously, which causes it to pull everything to the backlog sheet, but replaces the "Title" column data with the Exam that you created (I don't need anything beyond the "Notes" column to come to the backlog . Is there a way to only pull the columns listed on the backlog worksheet & ensure that the sheets with no applicable data don't create blank rows?

    Backlog Tracker.xlsm

    Thanks - Nate

  11. #11
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    There you are. I was not taking into account the fact that some sheets might be empty and some other samll issues.
    It should be fine now.
    Pierre
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    It works great Pierre, thank you very much!!

    Now to add to another step in it, is it possible to create another button that could clear all subsequent pages besides backlog?

    How about automatically creating a pivot table to sort by the number of 0, 1, & 2s by exam in a daily table?

    Just throwing out thoughts to see if things are even possible

  13. #13
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Look at the attached workbook.
    You now have the button to erase all data in all the other sheets but the Pivot and Backlog one.
    I inserted a Pivot table in sheet Pivot that is updated automatically by the Create Backlog button.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Pierre,
    I have tried to use this one & it does correctly create the backlog & clears the other sheets however when I push "Create Backlog" button, it pops up with Run-time error 1004 & when I click debug it highlights this row:

    Sheets("Pivot").PivotTables("PivotTable3").PivotCache.Refresh

    The pivot table does not populate with data. If you'd like to use the previous example workbooks with the data to test it out & see what may be happening, that would be great!

  15. #15
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Strange. It works on my computer. I'm using Excel 2013 though. Could it be the issue?
    Have you tried to refresh the pivot table manually? If yes, what happened? Did it update? If yes, could it be done manually and remove
    the line of code in the macro.
    I can't tell you what's wrong. Have you tried to turn your computer OFF and ON again.
    As strange as it is, sometimes it solves lots of issues.

  16. #16
    Registered User
    Join Date
    04-24-2015
    Location
    FL
    MS-Off Ver
    2010
    Posts
    10

    Re: Auto Populate New Sheet Based on Data from Multiple Other Sheets

    Not sure what happened but I just tried it again & it seems to be working fine! I have another project I am going to be working on involving some of the same data, do you think you could assist with this new one also? I can post it in 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. Auto-Populate Sheets Based on Master Sheet
    By agulbino in forum Excel General
    Replies: 7
    Last Post: 02-10-2015, 08:25 PM
  2. Auto Populate Sheets Based on a Data Tab???
    By dwmilligan in forum Excel General
    Replies: 3
    Last Post: 10-30-2014, 11:02 AM
  3. Replies: 1
    Last Post: 09-01-2012, 04:57 AM
  4. Auto Populate Master Sheet with multiple sheets data
    By haley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2009, 04:29 AM
  5. how to auto populate data from multiple sheets to a master
    By Fosachy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2009, 06:15 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