#1   Report Post  
Aline
 
Posts: n/a
Default time calculations

Hello!

Does anyone know how you can calculate worked hours in a day on the
basis of a start and end time?

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=(end_time-start_time)*24

--
HTH

Bob Phillips

"Aline" wrote in message
oups.com...
Hello!

Does anyone know how you can calculate worked hours in a day on the
basis of a start and end time?



  #3   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Aline

With start time in column A, and end time in column B, enter in C1
=MOD((B1-A1),1)
will give the time interval, even allowing for time period where the start
is on one day, and the finish is on the next.
Input time on a 24 hour basis 16:30 for 4:30 pm.

If you want to sum the hours worked, then just =SUM(C1:C100) but format the
cell with the formula
Format CellsNumberCustom as [hh]:mm to allow Excel to sum past 24 hours.

Change ranges to suit.

Regards

Roger Govier


Aline wrote:
Hello!

Does anyone know how you can calculate worked hours in a day on the
basis of a start and end time?

  #4   Report Post  
Aline
 
Posts: n/a
Default

Thanks Bob,

But it does not work on my example. For instance, starting time is
22.00hr, end time 06.00 hr; total worked hours would have to result in
8 hrs.

Bob Phillips schreef:

=(end_time-start_time)*24

--
HTH

Bob Phillips

"Aline" wrote in message
oups.com...
Hello!

Does anyone know how you can calculate worked hours in a day on the
basis of a start and end time?


  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

=((end_time-start_time)+if(end_time<start_time,1,0))*24
or shorter:
=((end_time-start_time)+(end_time<start_time))*24

Another option would be to include the time and date for each entry.

Aline wrote:

Thanks Bob,

But it does not work on my example. For instance, starting time is
22.00hr, end time 06.00 hr; total worked hours would have to result in
8 hrs.

Bob Phillips schreef:

=(end_time-start_time)*24

--
HTH

Bob Phillips

"Aline" wrote in message
oups.com...
Hello!

Does anyone know how you can calculate worked hours in a day on the
basis of a start and end time?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
time sheet calculations emmcee Excel Worksheet Functions 7 August 20th 05 12:26 PM
Time Calculations Paul T Excel Worksheet Functions 1 April 23rd 05 04:02 AM
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM
Time calculations & text conversions Kenny Hubbard Excel Discussion (Misc queries) 1 February 5th 05 10:15 PM
Time Sheet calculations dkostel Excel Worksheet Functions 2 November 23rd 04 10:11 PM


All times are GMT +1. The time now is 01:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"