Calc. Length of time with time-in, time-out, date-in, date-out in diff. columns

Calc. Length of time with time-in, time-out, date-in, date-out in diff. columns

Post by Niceve » Sun, 30 May 2004 00:20:05


I need to calculate total length of time in hours:minutes:seconds.

ColumnA: Arrive date in M/D/YYYY
ColumnB: Depart date in M/D/YYYY
ColumnC: Arrive time in H:M:Seconds
ColulmnD: Depart time in H:M:Seconds

I can't figure out how to get my formulas to look at BOTH date AND TIME
& arrive at a total length of time that honors a period over 24 hours.


I know I can format [H], and I've looked at other formula pieces, but
I'm unable to get all four pieces above to connect.

How do I do that?

Nic.


---
Message posted from http://www.yqcomputer.com/
 
 
 

Calc. Length of time with time-in, time-out, date-in, date-out in diff. columns

Post by Frank Kabe » Sun, 30 May 2004 00:25:15

Hi
use the following formula
=(B1-A1)+(D1-C1)
and format the resulting cell with
[hh]:mm

 
 
 

Calc. Length of time with time-in, time-out, date-in, date-out in diff. columns

Post by Norman Har » Sun, 30 May 2004 00:31:23

Hi Nic!

Try:
=(B1+D1)-(A1+C1)
Format [hh]:mm:ss

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
XXXX@XXXXX.COM