+ Reply to Thread
Results 1 to 10 of 10

Pulling data from multiple Excel Sheets to a Master

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    West Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Pulling data from multiple Excel Sheets to a Master

    I have a workbook with multiple sheets designed to track sales activity. Currently it is set-up so only one person could realistically use it to track their progress. I would like to have individual workbooks for the Sales Associates to track their own sales activity but then have a Master Sheet that would automatically pull the raw data so I can analyze the company activities as a whole.

    For example, There are two sheets below that are examples of what my Sales Associates would use to track sales, there is also a master list. They have the same layout with one exception, the master has an additional column to note which Sales Associate sheet the info came from. I would like this master to pull data from each Sales Associate Sheet (only need one sheet, not the whole book) and also add which sheet the info came from in a column. If it isn't possible to add the column on which sheet the info came from I suppose I could do a work around of adding the SA's name to every row of column A on their individual books and then have the master pull that info too.

    I will be keeping each Workbook in the same folder on our internal server (Microsoft Home Server) The Location would be something like TheVault>Sales>Sales Tracking>Beard, Frank Tracking Sheet.xls.

    I am using Excel 2007.

    Is this possible? I appreciate any insights on how to do this.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Pulling data from multiple Excel Sheets to a Master

    I've done this two different ways.

    First, is the sales information confidential between the sale associates? In other word, is it ok for one associate to see the other associate's information?

    If everyone is on the same LAN, this is great.

    Method #1 - Using a master workbook with macros to gather everyone's info.
    There are advantages and disadvantages to doing this. The advantages include; data is fairly private and always accessible to each associate. The disadvantages include; data is not always accessible to the master(supervisor) and there are more workbooks to manage/service.

    Method #2 - Using a shared workbook.
    There are advantages and disadvantages to doing this too. The advantages include; data is always accessible to everyone and there is only one workbook. The disadvantages include; data is not as private.

  3. #3
    Registered User
    Join Date
    03-07-2012
    Location
    West Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Pulling data from multiple Excel Sheets to a Master

    I think I am looking at using Method #1. I don't care too much if Sales Associates can see what the others are doing, but some aspects of the sheet would be better off being kept private for the security of our clients. Also, this sheet is a main tracking and organizing method for our sales team, they will likely have it open on their computers most of the day. That causes problems because two people can't have the same file open at the same time.

    I don't know too much about Macros. Is there a basic Macro to use, or is this over my head?
    Last edited by BradPhillips; 03-19-2012 at 04:42 PM.

  4. #4
    Registered User
    Join Date
    03-07-2012
    Location
    West Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Pulling data from multiple Excel Sheets to a Master

    After some research, I found a macro that does almost what I want it to do. I'm hoping you guys can help me get the rest of the way. Here is the Macro I'm using.

    Please Login or Register  to view this content.
    Here are the two problems I'm trying to fix.

    1. When I run the macro the table column descriptions I have in A3:AA3 get erased. I would like them to stay.
    2. The source has a lot of formulas in the cells, I would like to ignore rows that may have formulas but don't display any info (example: I have a bunch of cells that may have some thing like =IF(B5="","","John"). Want the macro to ignore any cell that may have a formula like that but has returned a blank cell("")
    3. Lastly, I would like the Macro to start populating the info in a set cell (A5) each time.

    Can anyone help me with these 3 things?

    Thanks!

  5. #5
    Registered User
    Join Date
    03-19-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Pulling data from multiple Excel Sheets to a Master

    Here is something I use and I hope it may help you. I need to combine multiple workbooks which contain multiple worksheets of test data. I have the test engineers deposit the files in a share folder. This code will pop up a windows explorer box and you can select as many excel files as you want and clicking open. So if you were to run this in a blank workbook it would pull all the worksheets from all the workbooks you selected into your new workbook.


    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-07-2012
    Location
    West Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Pulling data from multiple Excel Sheets to a Master

    Thanks Weibull, that kind of works. It's slightly different than what I was looking for, but I may be able to get it to work.

  7. #7
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Pulling data from multiple Excel Sheets to a Master

    Quote Originally Posted by BradPhillips View Post
    Thanks Weibull, that kind of works. It's slightly different than what I was looking for, but I may be able to get it to work.
    You Looking for help on this!! You want macro automation or formula?

  8. #8
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: Pulling data from multiple Excel Sheets to a Master

    I'm not sure if this helps in anyway, but you might want to look at it, if not already done.

    Check this link out: http://www.rondebruin.nl/tips.htm

    Hope this is useful in one way or the other.

    Best,
    Spi

  9. #9
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Excel formulas calculate working hours bet two dates with criteria

    I want calculate hours bet two dates with conditions i want result as two dimensions.
    I have enclosed excel sheet please find the attachment

    activity start date activity end date
    4/5/2013 9:01 4/5/2013 23:00
    4/6/2013 10:01 4/7/2013 23:10

    if activity start time less than <10:00 am
    if activity start time greater than >10:00 am

    activity end date time should be completed same day 11:00 pm (23:00:00)
    activity end date time should be completed next day before 11:00 pm(23:00:00)

    if
    one result wants calculation
    if first criteria is met i want result calculate time between activity start and end time)
    if secone criteria is met i want result calculate time from start time till next day 23:00:00 pm

    another result want in true or fales
    if first criteria is met i want result "yes activity completed same day"
    if secone criteria is met i want result "yes activity completed second day"
    Attached Files Attached Files

  10. #10
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Pulling data from multiple Excel Sheets to a Master

    breadwinner,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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