![]() |
|
#1
|
|||
|
|||
![]()
Hi Everyone,
I don't think this problem is actually very difficult. But I'm stumped. If you can take a look for me I'd really appreciate it. Basically, I need to summarise all the labour hour costing for each month. I have a list of staff who, for their work each day, record the: jobs, codes for that job, and hours for that. Sample Source Data: 18/08/2017 Chainz Graham 247 - Dixon Stage 5 08-Other 19/08/2017 Jury Herewini 252 - Kay Rd Cutdown 02-Roading 8:00:00 20/08/2017 Adam Young 247 - Dixon Stage 5 08-Other 3:00:00 21/08/2017 Adam Young 250 - 132 Kay Rd Subdivision 03-Stormwater 9:30:00 22/08/2017 Jury Herewini 250 - 132 Kay Rd Subdivision 03-Stormwater At the end of each month I want to sum all the hours assigned to each code so that I end up with a tidy list. Sample Desired Projected Data: Names Project Cost Code Hours Adam Young 250 - 132 Kay Rd Subdivision 02-Roading 43 Adam Young 250 - 132 Kay Rd Subdivision 03-Stormwater 17 Adam Young 252 - Kay Rd Cutdown 03-Stormwater 40 Chainz Graham 250 - 132 Kay Rd Subdivision 02-Roading 38 Chainz Graham 250 - 132 Kay Rd Subdivision 03-Stormwater 42 Connor Herewini 250 - 132 Kay Rd Subdivision 06-Concrete 29 The difficult thing is that I only want the name, project and code to appear if the worker had hours assigned to that code for the month. So in the final list, I want three Adam's to appear if he worked on three different job codes, and so on for jobs and codes. Please don't worry about the hours column, a simple SUMIF function can get that job done. I can also get the correct number of names to come up easily, but the project and code I'm having trouble with. Here's a sample spreadsheet to work with below which you can download: https://drive.google.com/file/d/0B3g...ew?usp=sharing You will see the method I am attempting by the intermediate data in the sheet. You may find a better solution and ditch that method altogether. I'm open to suggestions. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Justcallmeeesa | Excel | 2 | 04-14-2016 09:15 AM |
![]() |
ptmuldoon | Word VBA | 7 | 03-19-2016 03:28 PM |
Pulling data from one sheet and displaying on another worksheet | baybeelov | Excel | 0 | 12-19-2014 12:24 PM |
![]() |
zemestan | Outlook | 1 | 10-20-2013 04:57 AM |
Labeling sequential forms with a unique number | krau0231 | Word | 1 | 10-18-2012 03:33 PM |