Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - dd/mm/yy hh:mm:ss formula 1

Status
Not open for further replies.

brunnle2

Technical User
Feb 4, 2005
14
CH
I have two Date & Time columns (dd/mm/yyyy hh:mm:ss). One is an open time, and another is the closed time. What I need to calculate in hours, is what is the elapsed time between the two. Closed Time - Open Time works if time elapsed is <24 hours. anything >24 hours and the elapsed time goes back to 0.
How can I change this?
 
Change the format of the cell to [h]:mm:ss

[tt]_____
[blue]-John[/blue]
[/tt][red]"I'm against picketing, but I don't know how to show it."[/red]
-Mitch Hedberg

Help us help you. Please read FAQ181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top