Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TMbender
 
Posts: n/a
Default How do i calculate the time between 10:00 pm and 6:00 am in excel?

I working on a 2 week schedule for my employees. What i need to know is, how
do I calculate the time between 10:00 pm and 6:00 am in excel?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

XL stores times as fractional days (so 03:00 = 0.125). Since times roll
over at midnight, you have to add 1 (a full day) to the later time if
your values times spand midnight. You can use the fact that XL coverts
boolean TRUE/FALSE values into 1/0, respectively, in math functions:

A1: start time
B1: end time
C1: =B1 - A1 + (B1<A1)

or the more obscure but equivalent

C1: =MOD(B1-A1, 1)

See

http://cpearson.com/excel/datetime.htm

for more





In article ,
"TMbender" wrote:

I working on a 2 week schedule for my employees. What i need to know is, how
do I calculate the time between 10:00 pm and 6:00 am in excel?

  #3   Report Post  
CLR
 
Posts: n/a
Default

Include the date with each time, so Excel knows you don't mean 10:00pm
Friday 5/13/05 to 6:00am Monday 5/16/05, etc etc..........then just subtract
as normal and format to suit.

Vaya con Dios,
Chuck, CABGx3




"TMbender" wrote in message
...
I working on a 2 week schedule for my employees. What i need to know is,

how
do I calculate the time between 10:00 pm and 6:00 am in excel?



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
Calculate time difference to the half hour Ken Ivins Excel Worksheet Functions 6 July 17th 05 05:48 PM
Calculate time Rao Ratan Singh Excel Discussion (Misc queries) 2 March 17th 05 02:28 PM
calculate difference in time to hours Chris Excel Worksheet Functions 5 January 18th 05 06:07 PM
Function Help Steven M. Britton Excel Worksheet Functions 0 December 9th 04 03:33 PM
Amortization Schedule Steven M. Britton Excel Worksheet Functions 0 December 8th 04 04:23 AM


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

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"