Dear all
I'm trying to find out the time different within two time value,can someone please tell me what formular i can use to calculate the time difference?
if time 1 in A1 and time 2 in B1 then in C1
=B1-A1
format as hh:mm:ss
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
A slightly better format is [h]:mm which shows the elapsed time in hours eg. 25.10 or [mm]:ss which shows the elapsed time in minutes eg. 75:46
If you are comparing cells A1 and A2 with times but cell A1 might be bigger than A2 only sometimes, then the following formula will cover all eventualities:
=IF((A1-A2)>0,(A1-A2),(A2-A1))
Enjoy
Tiglet
[blue]Living on Earth is expensive, but it does include a free trip around the sun every year.[/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.