Link to home
Start Free TrialLog in
Avatar of surah79
surah79

asked on

EXCEl Time Difference

Hi
I have a excel spread sheet in which I want to calculate time difference between two time
Time 1:  1:45 PM
Time 2 : 1:55 PM

Difference = 0:10

Thanks
SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of surah79
surah79

ASKER

i did that its not working for all its giving some error #Value!
Make sure you have cell format set to "Date"
Hi

is this what you are looking for?

Please look at attachment.
=(A2-A1)*1440

Open in new window

Excel-time-difference.xlsx
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
surah79,

Can you post your file so that i can look into it what's wrong...

Saurabh...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you just use this: =TEXT(B1-A1,"h:mm"), you will get exactly what I think you are looking for.
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of surah79

ASKER

Thanks a lot everyone.