Hi,
Is it possible to calculate the difference in time as example below?
A1 = 4/12/2010 4:11:00 PM
A2 = 5/12/2010 4:15:00 PM
A3 = A2- A1 = 24 hrs 4 mins.
Regards,
Lewis
Hi,
Is it possible to calculate the difference in time as example below?
A1 = 4/12/2010 4:11:00 PM
A2 = 5/12/2010 4:15:00 PM
A3 = A2- A1 = 24 hrs 4 mins.
Regards,
Lewis
The way you did it is fine. Just format the result as [h]:mm
Entia non sunt multiplicanda sine necessitate
Custom Format the cell as
[hh] "hrs "mm" min"
Does that work for you?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
This looks good
A1 = 4/12/2010 4:11:00 PM
A2 = 5/12/2010 4:15:00 PM
Now, in Cell A3, either:
Option 1: Type in: A3 = A2- A1
then format the cell to "h:mm"
Option 2: In A3, type in: =TEXT(A2-A1,"h:mm")
Why would you want a formula that returns a text result for a numeric value?Option 2: In A3, type in: =TEXT(A2-A1,"h:mm")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks