Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JT JT is offline
external usenet poster
 
Posts: 234
Default Negative Time Numbers

Is there a way to display negative time numbers? i.e. 64:00 - 84:00 hours
= -20:00 hours
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Negative Time Numbers

Assume times are entered in A1 (first time) and B1 (second time).
C1: =IF(B1A1,"- ","+ ")&TEXT(ABS(A1-B1),"[hh]:mm")

That being said, since it is now a text cell, in order to manipulate this
time, you would need something like the following.
Assume cell B3 has time that needs to be modified by your time in C1.
C3: =B3+MID(C1,3,LEN(C1)-2)*IF(LEFT(C1,1)="-",-1,1)

It works....

--
John C


"JT" wrote:

Is there a way to display negative time numbers? i.e. 64:00 - 84:00 hours
= -20:00 hours

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Negative Time Numbers

Try to check 1904 style dates in ToolsOptionsCalculation!

Regards,
Stefi

€žJT€ ezt Ć*rta:

Is there a way to display negative time numbers? i.e. 64:00 - 84:00 hours
= -20:00 hours

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Negative Time Numbers

See answer in your other thread.

Regards,
Fred.

"JT" wrote in message
...
Is there a way to display negative time numbers? i.e. 64:00 - 84:00
hours
= -20:00 hours


Reply
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
Negative time numbers JT Excel Worksheet Functions 2 July 18th 08 04:19 PM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM
convert negative numbers to positive numbers and vice versa bill gras Excel Worksheet Functions 4 December 7th 05 01:39 AM


All times are GMT +1. The time now is 06:54 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"