Copying time sheet data

robinh

New Member
Joined
Apr 28, 2014
Messages
2
Hi,

I have a spreadsheet (in excel 2003) containing a years worth of timesheet data, arranged into columns which include job number, stage and the days of the week for Monday-Friday. Hours per day are put against a project and/or stage. The spreadsheet is arranged into worksheets with two weeks worth of timesheets per excel worksheet.

What I am trying to do is copy the job number, stage and what hours were done on that job number and stage for every day of the week for 2013 into another sheet. This has to have the columns job number, stage, date and number of hours against each job and stage for that date. It looked simple at first but I am having real problems! Maybe I am just being stupid, but has anybody got any suggestions for formula I could use to help me with this?

Any help would be much appreciated!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to the forum,

It sounds as though you would need some VBA code or possibly look at a Pivot table.

Can you copy some example how its laid out into your thread.
 
Upvote 0
Hi,
Assuming your data has a srandard format and a column for hours spent on each day on the project/stage and not just start and end taime per day then you should try a pivot table.

Set the pivot table style to "classic" and format the hours in [h]:mm:ss.

I created a sample and it worked fine.
 
Upvote 0
Welcome to the forum,
It sounds as though you would need some VBA code or possibly look at a Pivot table.
Can you copy some example how its laid out into your thread.

Hi Healey,

Thanks for getting back. I can't post attachments yet, so I will copy and paste below. I have also uploaded as a spreadsheet at https://drive.google.com/file/d/0B2HwrFF20fy4S1hFNmtub1NoaG8/edit?usp=sharing

Below is an example of the timesheets in their current format. There are two per worksheet.


Week Commencing: Monday</SPAN>
20.05.13</SPAN>
Week No. Odd</SPAN>
21</SPAN>
Contract Name</SPAN>
Job No</SPAN>
Stage</SPAN>
Overtime</SPAN>
Normal Hours</SPAN>
Mon</SPAN>
O/T</SPAN>
Tue</SPAN>
O/T</SPAN>
Wed</SPAN>
O/T</SPAN>
Thu</SPAN>
O/T</SPAN>
Fri</SPAN>
O/T</SPAN>
W/E</SPAN>
Project A</SPAN>
4769</SPAN>
E</SPAN>
0</SPAN>
0</SPAN>
Project B</SPAN>
4644</SPAN>
F</SPAN>
0</SPAN>
14.5</SPAN>
7.5</SPAN>
3.5</SPAN>
3.5</SPAN>
Project C</SPAN>
4855</SPAN>
B</SPAN>
0</SPAN>
11.5</SPAN>
7.5</SPAN>
4</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>
0</SPAN>

<TBODY>
</TBODY>


Below is the format I have to have the data in (its for an upload template). Only Job number, stage, date and normal hours have to be copied across from the original timesheets.

Job No</SPAN>
Stage</SPAN>
User</SPAN>
Date</SPAN>
Normal hours</SPAN>
Extra Time</SPAN>
Notes</SPAN>

<TBODY>
</TBODY>


Cheers,
Robin
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,887
Messages
6,122,095
Members
449,064
Latest member
Danger_SF

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top