Calculating Hours

MichHart

New Member
Joined
Dec 4, 2009
Messages
3
Hi Guys, i was wondering if you could help me shed some light on the following.

I have a table which details the working hours of an employee for a week.

I have the following fields in the table -

PatternStart
PatternEnds
MonStart
MonEnd
TueStart
TueEnd... etc.

Each day of the week shows a start and end time.

I want to run a report which would calculate the working hours of my employees based on a date range. So when i run my report i would enter a start and end date and it would calculate the working hours of my guys for that period. Is this something access could do for me? Im using Access2003 if that makes any difference.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Use of the DateDiff() function will provide you with the number of hours: DateDiff("h",[monstart],[monend]) + DateDiff("h",[TueStart],[TueEnd]) + etc. I'm curious why you have the days of the week in separate fields. A date calculation can tell you what day of the week the activity occurred on.

Phil...
 
Upvote 0
Hi Phil, thanks for getting back to me.

Ive split the days down in such away because the team work different shifts and id like to keep track on them. I do think i may be over egging the cake slightly in doing so though...

I'll give you suggestion a try as soon as i can.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,351
Members
452,907
Latest member
Roland Deschain

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