Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to find number of hours past a spesific time


Im pretty new to excel.
At least with other things than the regular - + * and /.

I have a huge problem getting the hours past 12:00 o'clock when I have
a field with start and stop time. For instance 8:00 (A1) to 16:00 (A2).
I should get 4 hours. As to the 16:00, I use 24 hour format.

I have tried with plenty of IF statements but to little help. It just
don't seem to work with hours. Only with numbers, text and so on. Maby
it's the : it's not cooperating with. I'm not sure.

I want to calculate my overtime. Past 12:00 is 50% on saturdays.

What are my options?


--
MrHaugen
------------------------------------------------------------------------
MrHaugen's Profile: http://www.excelforum.com/member.php...o&userid=36191
View this thread: http://www.excelforum.com/showthread...hreadid=559802

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default How to find number of hours past a spesific time

=(A2*24)-12 will give overtime hours (format cell as general)

Or

=Max(0,(A2*24-12 )) if there could be no overtime

HTH

"MrHaugen" wrote:


Im pretty new to excel.
At least with other things than the regular - + * and /.

I have a huge problem getting the hours past 12:00 o'clock when I have
a field with start and stop time. For instance 8:00 (A1) to 16:00 (A2).
I should get 4 hours. As to the 16:00, I use 24 hour format.

I have tried with plenty of IF statements but to little help. It just
don't seem to work with hours. Only with numbers, text and so on. Maby
it's the : it's not cooperating with. I'm not sure.

I want to calculate my overtime. Past 12:00 is 50% on saturdays.

What are my options?


--
MrHaugen
------------------------------------------------------------------------
MrHaugen's Profile: http://www.excelforum.com/member.php...o&userid=36191
View this thread: http://www.excelforum.com/showthread...hreadid=559802


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
Convert a number to a time Jack Excel Discussion (Misc queries) 4 January 19th 06 09:08 AM
Time format to number while keeping value Jim Excel Worksheet Functions 2 January 12th 06 05:45 PM
how to calulate time in hours cbetween two different dates? shonkoo Excel Worksheet Functions 3 October 30th 05 03:30 AM
Calculate difference in time spanning a day, during office hours o frozenfusion Excel Discussion (Misc queries) 1 August 26th 05 10:39 AM
Time functions, how do I work out number of hours jeanette.rimmer Excel Worksheet Functions 2 July 15th 05 11:53 AM


All times are GMT +1. The time now is 05: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"