Forum Discussion
Hugh Finerty
Nov 10, 2017Copper Contributor
Calculate difference between two times in Excel for Mac
I had to separate the times from the date columns that were formatted as date and time. After I separated out the times, I applied the simple formula =N2-O2 to calculate the time differential. But, i...
- Nov 11, 2017
Hi Hugh,
If negative elapsed time is the case you may use text to show it
=IF(H2-G2 <0, "-" & TEXT(G2-H2, "[HH].mm.ss"), H2-G2)
more details at
https://excelribbon.tips.net/T006239_Displaying_Negative_Times.html
Please see file attached
Hugh Finerty
Nov 11, 2017Copper Contributor
Thank you, Sergei!
Hugh Finerty
Nov 11, 2017Copper Contributor
Any suggestions as to how to deal with the ones that arrived earlier than scheduled? The other ones worked perfectly.
- SergeiBaklanNov 11, 2017Diamond Contributor
Hi Hugh,
If negative elapsed time is the case you may use text to show it
=IF(H2-G2 <0, "-" & TEXT(G2-H2, "[HH].mm.ss"), H2-G2)
more details at
https://excelribbon.tips.net/T006239_Displaying_Negative_Times.html
Please see file attached