LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtracting a duration from a time to calculate a time. SRadmin Excel Discussion (Misc queries) 5 October 2nd 08 08:04 PM
Subtracting Dates to get total time work time excluding weekends Jon Ratzel[_2_] Excel Discussion (Misc queries) 2 January 31st 08 10:36 PM
Subtracting Time can it be done with a fx? tpayne Excel Discussion (Misc queries) 5 July 13th 07 06:50 PM
subtracting two date/time columns to get total time Drew[_10_] Excel Programming 2 November 10th 06 03:04 PM


All times are GMT +1. The time now is 08:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"