+ Reply to Thread
Results 1 to 8 of 8

Report to compare lists of hours worked

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    Quebec
    MS-Off Ver
    Excel 2007
    Posts
    4

    Report to compare lists of hours worked

    Hi all, I hope you can help with this.

    Our firm has multiple projects running at the same time (let's say about 100 projects) with a staff of about 25. Every Monday we plan the week's work by attributing employee hours to the various projects. Not all projects are worked on every week. After the week is over, we receive a report containing the actual projet hours, by employee.

    I want to make a report that compares actual hours to hours planned, organized by project. The attached file gives an exemple of what I mean. I'm pretty good with pivot tables, but I'm stumped as to how to easily create a third table from the first two.

    Thank you so much for any help!
    Vince
    Attached Files Attached Files

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Report to compare lists of hours worked

    Hi sleeman,

    You can consolidate the 2 sources into 1 Pivot Table using the below method.
    https://www.youtube.com/watch?v=wdemm8LzzVY
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    01-17-2012
    Location
    Quebec
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Report to compare lists of hours worked

    Hi noboffinme, Thanks for the info. I'm new to multiple table pivot tables, so I tried, but I'm having trouble getting it to work. The problem may be that since I don't have a unique primary key. Can it still work?

  4. #4
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Report to compare lists of hours worked

    Try this link, it will use the Employee as your PK and as the Page field in the Pivot.

    https://www.youtube.com/watch?v=wdemm8LzzVY

  5. #5
    Registered User
    Join Date
    01-17-2012
    Location
    Quebec
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Report to compare lists of hours worked

    That`s the same video. Did you mean to link to a different one?

  6. #6
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Report to compare lists of hours worked

    Hi sleeman,

    Sorry, yes that's the wrong link & I was also getting the duplicates error.

    So, I've tried another method using VLOOKUP.

    You will need to create a new column that has the Employee No & Project No together.

    Do the same with your 2 tables and use the VLOOKUP to bring them together.

    I've created this on sheet2 of your file - attached.

    Not as good as an included feature but it does work.

    Cheers
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-17-2012
    Location
    Quebec
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Report to compare lists of hours worked

    Yes that's very good. By combining Employee & Project, they become unique keys. I worked at that solution for a while , but the difficulty is creating the combined list (your column K). How did you do it? I think I'll have to write a VBA macro to get all unique Employee&Project values from both lists. I don't see any way around it. I was hoping there would be a solution through tables pivot tables! Thanks for your help.

  8. #8
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Report to compare lists of hours worked

    Have a look at the Formula in Cols 'A' & 'F', it's simply 'A3&B3'. You can also do this across worksheets or wherever.

+ 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: 8
    Last Post: 09-30-2017, 07:00 PM
  2. Replies: 4
    Last Post: 02-12-2013, 07:01 AM
  3. Replies: 2
    Last Post: 02-11-2013, 02:26 PM
  4. Replies: 0
    Last Post: 05-14-2012, 05:36 PM
  5. Calculating basic hours worked, between a time range and premium hours worked
    By RoyLittle0 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-07-2012, 06:59 AM
  6. Replies: 0
    Last Post: 01-05-2012, 06:23 AM
  7. Replies: 3
    Last Post: 04-27-2007, 02:10 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