I'm having difficulty getting Excel 2003 to subtract times. It seems to me that this should be easy, so probably I'm just making a mistake.
In Col A I have my arrival time (eg. 08:30)
- formula bar shows 08:30 AM
In Col B, I have departure time (which *might* be after midnight, but let's keep it simple for this example), eg. (23:00)
- formula bar shows 11:00 PM
I want to see the difference between the two times, which would be fifteen-and-a-half hours.
So, in Col C, I want a formula that will show Total Time On Site in Hours.Fraction-of-hour:
=B1-A1
Excel returns "0.3"
=Text(B1-A1,"hh")
Excel returns only "15" (not 15.5)
=Text(B1-A1,"hh.mm")
Excel returns 15.30 (not 15.5)
Q1. Advice on this problem?
Q2. Any thoughts about how to handle time differences that go beyond midnight?
In Col A I have my arrival time (eg. 08:30)
- formula bar shows 08:30 AM
In Col B, I have departure time (which *might* be after midnight, but let's keep it simple for this example), eg. (23:00)
- formula bar shows 11:00 PM
I want to see the difference between the two times, which would be fifteen-and-a-half hours.
So, in Col C, I want a formula that will show Total Time On Site in Hours.Fraction-of-hour:
=B1-A1
Excel returns "0.3"
=Text(B1-A1,"hh")
Excel returns only "15" (not 15.5)
=Text(B1-A1,"hh.mm")
Excel returns 15.30 (not 15.5)
Q1. Advice on this problem?
Q2. Any thoughts about how to handle time differences that go beyond midnight?
Last edited: