How do I convert hh:mm:ss to an absolute number (26:01:32 to 26)?
I am attempting to calculate a duration by subtracting the end date and time
from the beginning date and time, and would like a absolute number returned. For example: Start=10/25/2005 10:30 End=10/26/2005 12:30 which results in 26:00:00 in time format or 1.08 in number format. I need just 26. Does anyone have a way to convert either result to an absolute value of 26? Thanks for the help. |
How do I convert hh:mm:ss to an absolute number (26:01:32 to 26)?
I do it with a cell format. In the custom format I use:
[h];@ It trims it down to just the hour. |
All times are GMT +1. The time now is 03:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com