LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default subtracting time

Hello,

Using the following formula I am receiving data that is not correct:

=IF(B6-E6<0,"-"&TEXT(ABS(B6-E7)/24,"[h]:mm"),B6-E6)

I would like to have a formula that will subtract time. For example I need
the return data in D1 to be -0:00:45. In D2 it needs to be +0:12:09 etc€¦

Thanks in advance for your help.

Assoc 12:29:15 PM 12:30:00 PM -0:11
Assoc 8:12:09 AM 8:00:00 AM 0:12:09
Assoc 7:53:28 AM 8:00:00 AM -0:02
Assoc 6:56:45 AM 7:00:00 AM -0:05
Assoc 8:57:20 AM 9:00:00 AM -0:02
Assoc 7:58:18 AM 8:00:00 AM -0:03


 
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
making a time a measurement of time, not an hour of the day?? small tom Excel Discussion (Misc queries) 7 January 24th 06 02:17 PM
time sheet Jesse_Norris Excel Discussion (Misc queries) 4 September 8th 05 04:43 AM
Subtracting time quartz Excel Worksheet Functions 3 May 18th 05 08:07 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM
Subtracting time in date format Collcat Excel Worksheet Functions 1 November 10th 04 04:45 PM


All times are GMT +1. The time now is 05:34 PM.

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"