+ Reply to Thread
Results 1 to 15 of 15

Trying to build a master spreadsheet to pull hours from multiple time sheets

  1. #1
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi Excel experts!

    I am a long time excel user but I have come across a road block so I need some advice.

    I am creating a master spreadsheet to pull the numbers of hours worked on multiple time sheets. The master is set up with a list of job numbers in column A and then Employee names across the top. There are 26 time sheet files per employee per year. Each time sheet has the job numbers and the number of hours spent working on each job.

    The purpose of the master is to calculate the number of hours spent on each job.

    I have attempted to use lookup BUT the job numbers on the time sheets are not listed in numerical order so it doesn't work.

    Time sheet columns are set up as follows:
    Job Number / Description / hours worked

    Any ideas on how to make this work?

    I appreciate your help!!

    Roxanne

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi Roxanne,

    Welcome to the forum.

    I believe SumIf or Sum With array functionallity can help here, can you upload a sample file for Forum to give a quick try. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi, here are two examples of the files I am using. Thanks so much for your help!!
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Ok... see the attached file and let me know if this helps.. you can follow the similar approach for employee2,3. .. etc.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi,
    For some reason my computer is not reading the file, when I open the file I am getting this error:

    Removed Records: Formula from /xl/worksheets/sheet1.xml part
    Removed Records: Formula from /xl/calcChain.xml part (Calculation properties)

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi roxannek,

    You need to unzip the files first.. right click on the file and choose unzip... thanks

    regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    I am trying to upload a file with my screen shots on it so you can see the error. i did unzip bit it seems to be taking the formulas out of the file. I just emailed you the word file with the screen shot

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi roxannek,

    If you are facing any issues with download / upload, would suggest you to contact any of the available person at:-

    http://www.excelforum.com/showgroups.php

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  9. #9
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    OK I will. Is it possible for you to type the formula you used into the forum reply just so I can work with it without having to open that file?

  10. #10
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hello! I got everything sorted out. Now I see how to do the formula, thank you! I am coming across a problem though.

    When the time sheet files are open on my computer it works! but when I close the files, the formula results in a #VALUE.

    Any idea why?

  11. #11
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi roxanner,

    It should not happen, may be file path (linking) could be an issue.. suggest you to check the file path when file is opened / closed. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  12. #12
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    When the the source file is open the formula just contains the file name. When I close the source file, the destination fil automatically changes the file path to include everything P:\folder\folder\[filename.xls]

    I would assume this is what is supposed to happen, correct?

  13. #13
    Registered User
    Join Date
    05-04-2011
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    You should be able to use SUMPRODUCT.

  14. #14
    Registered User
    Join Date
    03-30-2012
    Location
    new york,ny
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    I am trying SUMPRODUCT but it doens't seem to be giving me the right result. It is giving me a 0 when it should give me 2. This is the formula i'm using

    =SUMPRODUCT('P:\employee\2012\[employee1.xls]Sheet1'!$A$3:$A$34=$A10000,'P:\employee\2012\[1.xls]Sheet1'!$J$3:$J$34)

  15. #15
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Trying to build a master spreadsheet to pull hours from multiple time sheets

    Hi roxannek,

    Would suggest you to open both excel file and than try correcting formula, also try below one:-

    =SUMPRODUCT(('P:\employee\2012\[employee1.xls]Sheet1'!$A$3:$A$34=$A10000)*('P:\employee\2012\[1.xls]Sheet1'!$J$3:$J$34))

    In case of any issues, upload the sample file. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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