+ Reply to Thread
Results 1 to 8 of 8

Pull data from another workbook:

  1. #1
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Pull data from another workbook:

    I have two workbooks. One is a weekly schedule with column A containing "Names" and columns D-J are for each day of the week. Each name could have a corresponding time for each day, be it 1500 or 1700 or simply off that day.
    The second workbook, I'd like to generate a list of everyone working (for example) Monday and sortable by times (1500 or 1700).
    Further complications are the naming of the schedule workbook which changes. I'm thinking VBA perhaps and a button for a folder picker that picks the file rather folder to be used to pull the names/times from?
    Is this a pipe dream or something that can be accomplished?
    I could provide examples if needed.

  2. #2
    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,830

    Re: Pull data from another workbook:

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  3. #3
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Pull data from another workbook:

    These are samples of the two workbooks. The "Road Map" workbook would be pulling data from the "Schedule" workbook.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Pull data from another workbook:

    I am not sure why you would want to put the schedule sheet in a separate workbook. It would make things simpler if that sheet was a part of the Road Map workbook. You can make as many spreadsheets in the workbook as the memory of you computer allows so at a sheet per week, you could go for many years.
    If you did put the Schedule sheet in the Road Map worksheet you could use the following formulas:
    For the Name column:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For the Start column:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Pull data from another workbook:

    JeteMc, Thank you for the response and I do agree with you. Stepping into my current position, there were separate workbooks for everything and none of them communicated with each other in any fashion. I like to think of ways to increase productivity and office efficiency which leads to less time spent at the desk and more time interacting with team members. I've managed to incorporate ways to do so with some of our workbooks. My main challenge is very few people have access to the "Schedules" workbook and are left with printouts of these schedules. Road Map is currently filled out reading off a printed schedule for example. My main struggle is attempting to consolidate spreadsheets without disrupting the current workflow of management. A way for those who have done it a certain way for years and do not really know (I wouldnt say better) but different.
    To be honest, I have learned more about excel in past year just trying to do things the hard way, so to speak.

    I have created daily tables in the schedule workbook that i can copy and paste the values into the road map. If I must continue to keep these workbooks separate, this is an easy choice. Definitely beats copying from a printout.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Pull data from another workbook:

    Life is like that, but don't despair. The following formulas will pull the data from the Schedule sample file:
    For Names:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For the start:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that both files will need to be open.
    Let us know if you have any questions.

  7. #7
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Pull data from another workbook:

    Thats great JeteMc. I'm working on dealing with changing schedule names. Schedule is currently named in a format such as "March 16-March 22.xlsx" and another for "March 23-March 29.xlsx".
    Thank you JeteMc!

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Pull data from another workbook:

    I am pretty sure that this would be better accomplished using VBA. I'll ask for assistance from the contributors with VBA experience to take a look.

+ 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. Replies: 1
    Last Post: 01-26-2017, 02:57 PM
  2. Pull and Sum Up Data From One Workbook to Another
    By Kyhosa in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-19-2016, 11:04 AM
  3. Replies: 5
    Last Post: 05-17-2016, 02:35 PM
  4. Macro to push pull data from a workbook by name to a master workbook
    By gizmojeff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2014, 11:36 AM
  5. Replies: 0
    Last Post: 04-03-2013, 01:58 AM
  6. [SOLVED] Master workbook to pull data from second workbook into seperate sheet
    By djm601 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-16-2013, 09:24 AM
  7. Replies: 3
    Last Post: 05-22-2008, 05: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