View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wabbleknee wabbleknee is offline
external usenet poster
 
Posts: 31
Default Subtracting time...again

I have been subtracting time using the mod function =mod(a2-a1,1) where a2
is stop time, a1 start time.
i.e (a2) 02/03/2014 06:50:00 PM - (a1) 02/03/2014 03:18:00 PM gives me
the answer 3:32 ([h]:mm or 3.53 in decimal format.

Now when I go beyond 24 hrs or 36 hrs for 48 hrs it is not showing correctly

i.e. 02/04/2014 07:24:00 PM - 01/30/2014 03:01:00 PM gives me the answer
4:23 The decimal format show's 124.38
The answer is 5 days 4 hours and 23 minutes. (I want the answer shown as
124:23 in [h]:mm format.)

Is the only answer subtracting the dates, then x24 and then add hrs. Tx