+ Reply to Thread
Results 1 to 9 of 9

making a summary sheet combining data from multiple workbooks

  1. #1
    Registered User
    Join Date
    04-27-2016
    Location
    Brooklyn
    MS-Off Ver
    2010
    Posts
    46

    making a summary sheet combining data from multiple workbooks

    Is there a way I can create an inventory list (of medications in this case) being prescribed to patients in a program? Presently, we have a seperate workbook for each patients medical record including their med regimen. Each time it is updated the file name is updated to end with the current date ie PatientName.2017.03.09.

    I want to create a report weekly that will listall the current patients and what meds they are taking based of their most recently updated file. I know it's a bit of a stretch but is there anyway to do this? Or any ways to do something similar? I am using excel 2010.

    Thanks,

    Elise

  2. #2
    Registered User
    Join Date
    03-09-2017
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    2

    Re: making a summary sheet combining data from multiple workbooks

    Hi Elise,
    You should Post your sheet here for better we understand your needs.
    Jaden,

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: making a summary sheet combining data from multiple workbooks

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: making a summary sheet combining data from multiple workbooks

    Hi Elsie,

    I think you are looking for the Power Query tool that is a Microsoft Add-In. It will allow you to pull in data from multiple workbooks and make a single worksheet from them.

    https://www.microsoft.com/en-us/down...0-5985b53865f8

    https://support.office.com/en-us/art...9-22554d0bcb1c
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    04-27-2016
    Location
    Brooklyn
    MS-Off Ver
    2010
    Posts
    46

    Re: making a summary sheet combining data from multiple workbooks

    Thanks. I've attached a sample workbook. Basically, we have individual workbooks for each patient labeled LastName.FirstName.YYYY.MM.DD.
    I want to be able to run a report that lists all of the medications under the MEDREG from the sample workbook tab into one file and format it something like in the "med inventory sample" book I also attached.

    Any help would be appreciated!

    Thanks,

    Elise
    Attached Files Attached Files
    Last edited by enwoznick; 03-11-2017 at 05:03 PM. Reason: add attachments

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: making a summary sheet combining data from multiple workbooks

    So to let me understand the process correctly

    copy information from worksheet ("MedReg") from Patient.name File and paste it into Med inventory Sample at the bottom of the file

    something like the attached file?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-27-2016
    Location
    Brooklyn
    MS-Off Ver
    2010
    Posts
    46

    Re: making a summary sheet combining data from multiple workbooks

    Yeah, pretty much. I have about 40 patients each with their own workbook. I want to import the medreg info from each workbook to create a single "med inventory".

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: making a summary sheet combining data from multiple workbooks

    This thread...
    https://www.excelforum.com/excel-gen...worksheet.html
    is pretty similar, you might want to monitor it as well?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: making a summary sheet combining data from multiple workbooks

    The coding for the actual copying itself isn't very complex for the single workbook

    though some structure would need to be applied so the code can run effectively for many workbooks
    is the patient workbook open at time of running or did you want excel to have an "open File" dialog to choose what file to open?

    if the later did you just want excel to open every single file in the folder and apply the code to it ...instead of opening 40+ books and running code every single time?

+ 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. Combine data from multiple workbooks into one, while combining sheet data
    By NigelKF in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2016, 09:32 PM
  2. Merge multiple workbooks to a summary sheet with data in table form.
    By angminer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2015, 02:57 PM
  3. [SOLVED] Combining data across multiple sheets onto one summary sheet
    By dajul73 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-29-2014, 02:10 PM
  4. Replies: 0
    Last Post: 07-29-2013, 03:00 AM
  5. Produce summary workbook sheet with data from multiple workbooks
    By Seancsn in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-27-2013, 01:04 PM
  6. Extracting and combining data from specific sheet from multiple workbooks
    By aggies2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2013, 03:39 PM
  7. [SOLVED] Combining Multiple Workbooks to 1 Sheet (Help JB!)
    By UzieJacuzzi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2012, 10:15 AM

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