View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Fernando
 
Posts: n/a
Default 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.