Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22
Default Count hours dr

I need to work out if a worker finishes work at 22:05 and starts at 07:00.
The reason for this is we need to know how many hours between 22:00 and 08:00
as this is consided rest time. I donot want to calculate any hours outside of
that.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default Count hours dr

Try this:
Being Start time in column A, Finish time in column B, 08:00 in C1, 22:00 in
D1
=MAX($C$1-A2,0)+MAX($D$1-A3,0)

Regards,
Stefi

€žDave08€ť ezt Ă*rta:

I need to work out if a worker finishes work at 22:05 and starts at 07:00.
The reason for this is we need to know how many hours between 22:00 and 08:00
as this is consided rest time. I donot want to calculate any hours outside of
that.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22
Default Count hours dr

For some reason the formula is not bringing back the correct result. Did you
mean =MAX($C$1-A2,0)+MAX($D$1-B1,0). it should return a value of between 0 -
10 hours.

"Stefi" wrote:

Try this:
Being Start time in column A, Finish time in column B, 08:00 in C1, 22:00 in
D1
=MAX($C$1-A2,0)+MAX($D$1-A3,0)

Regards,
Stefi

€žDave08€ť ezt Ă*rta:

I need to work out if a worker finishes work at 22:05 and starts at 07:00.
The reason for this is we need to know how many hours between 22:00 and 08:00
as this is consided rest time. I donot want to calculate any hours outside of
that.

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
Count hours per month Derek Excel Worksheet Functions 3 September 19th 07 11:52 AM
How to count hours- and multiply with my wage per hour... Sofus Excel Discussion (Misc queries) 4 February 4th 07 10:34 PM
How can I count hours & minutes??!! jamespickett23 Excel Discussion (Misc queries) 2 October 18th 05 11:10 AM
count TIME that is GREATER than 24 hours JonPilot Excel Worksheet Functions 1 January 31st 05 10:55 PM


All times are GMT +1. The time now is 02:56 PM.

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

About Us

"It's about Microsoft Excel"