PC Review


Reply
Thread Tools Rate Thread

Calculating time on a time card

 
 
=?Utf-8?B?S2V2aW4=?=
Guest
Posts: n/a
 
      10th Jan 2005
I have a problem and was hoping somebody could assist me. I am trying to
calculate the time it takes (in hrs) to manufacture certain items. I have a
start date and time and a end date and time. It can sometimes take a few days
to manufacture a group of items , so only work days can be considered. I also
need take into consideration that an average working day consists of 8.00 hrs
It starts at 7.30am and finishes at 16.30pm. In a day there are two
production breaks of 15min each (10.30-10.45 and 15.00-15.15) and one
production break of 30min ( 12.30-13.00). In order to accurately get a
production time I need to only consider work days , and only consider work
hours or part thereof. How can I do this ????

An example would be :

Start Date 04.01.2005
Start Time 09.00
End Date 10.01.2005
End Time 12.00

I should get a result of 35hrs production time
ie 6.30 on the starting day
8hrs on the 5th 6th and 7th
and 4.30 on the end date 10th,
Only work hrs are considered anf the weekend of the 8th and 9th have also
been excluded.

Please help ....anybody.
Thanks
Kevin
 
Reply With Quote
 
 
 
 
Tom Wickerath
Guest
Posts: n/a
 
      10th Jan 2005
Hi Kevin,

This should get you started:

Doing WorkDay Math in VBA
http://www.mvps.org/access/datetime/date0012.htm

It should allow you to calculate the number of working days between two dates, with weekends
excluded. You'll need to include company holidays in a table, which can be used to populate an
array, in order to have these days excluded. You'll still need to work out the code for the rest
of the procedure, to take into account your break times.


Tom
_________________________________

"Kevin" <Kevin @discussions.microsoft.com> wrote in message
news:083FC787-81E9-4420-ABAE-(E-Mail Removed)...

I have a problem and was hoping somebody could assist me. I am trying to
calculate the time it takes (in hrs) to manufacture certain items. I have a
start date and time and a end date and time. It can sometimes take a few days
to manufacture a group of items , so only work days can be considered. I also
need take into consideration that an average working day consists of 8.00 hrs
It starts at 7.30am and finishes at 16.30pm. In a day there are two
production breaks of 15min each (10.30-10.45 and 15.00-15.15) and one
production break of 30min ( 12.30-13.00). In order to accurately get a
production time I need to only consider work days , and only consider work
hours or part thereof. How can I do this ????

An example would be :

Start Date 04.01.2005
Start Time 09.00
End Date 10.01.2005
End Time 12.00

I should get a result of 35hrs production time
ie 6.30 on the starting day
8hrs on the 5th 6th and 7th
and 4.30 on the end date 10th,
Only work hrs are considered anf the weekend of the 8th and 9th have also
been excluded.

Please help ....anybody.
Thanks
Kevin


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Calculating pay-off time for Credit Card? Bernie Deitrick Microsoft Excel Worksheet Functions 0 1st Oct 2008 05:02 PM
Re: Calculating pay-off time for Credit Card? Bernie Deitrick Microsoft Excel Worksheet Functions 0 1st Oct 2008 05:01 PM
RE: Calculating pay-off time for Credit Card? Barb Reinhardt Microsoft Excel Worksheet Functions 0 1st Oct 2008 04:58 PM
Calculating Time & A Half On A Time Card Karl Microsoft Excel Worksheet Functions 1 31st Jul 2003 01:49 AM
Re: Calculating Time & A Half On A Time Card Peo Sjoblom Microsoft Excel Worksheet Functions 0 25th Jun 2003 01:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:56 AM.