Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello !
Thanks to all you for helping out me in my previous problem. This i have a problem with diplaying negative times, Say A1= 10:30 (format is hh:mm) and B1 = 8:30 (format is hh:mm). when C1=B1-A1, the value is displayed as ##### with notification negative dates and times are displayed as ######. Is there a way to display the negative time (for e.g. 8:30 - 10:30 = -2:00) Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In C1 enter:
=IF(B1<A1,"-","") & TEXT(ABS(B1-A1),"hh:mm") -- Gary''s Student - gsnu200902 "deepak" wrote: Hello ! Thanks to all you for helping out me in my previous problem. This i have a problem with diplaying negative times, Say A1= 10:30 (format is hh:mm) and B1 = 8:30 (format is hh:mm). when C1=B1-A1, the value is displayed as ##### with notification negative dates and times are displayed as ######. Is there a way to display the negative time (for e.g. 8:30 - 10:30 = -2:00) Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you switch to the 1904 date system:
Tools|Options|calculation tab (in xl2003 menus) You can see negative times and dates. Be aware that this setting is a workbook setting and can cause trouble when copying dates from a different workbook. And your existing dates in this workbook will now be 4 years and 1 day larger. Saved from a previous post: One way to add (or subtract) those four years back is to find an empty cell, put 1462 into that cell. Copy that cell. Select your range that contains the dates. Edit|PasteSpecial|click Add (or subtract) (in theoperation box) and check values. You may want to do it against a copy...just in case. Most windows users use 1900 as the base date. Mac users (mostly??) use 1904 as the base date. deepak wrote: Hello ! Thanks to all you for helping out me in my previous problem. This i have a problem with diplaying negative times, Say A1= 10:30 (format is hh:mm) and B1 = 8:30 (format is hh:mm). when C1=B1-A1, the value is displayed as ##### with notification negative dates and times are displayed as ######. Is there a way to display the negative time (for e.g. 8:30 - 10:30 = -2:00) Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unable to display date correctly######dates and times are negative | Excel Discussion (Misc queries) | |||
How to display negative $ amount?? | Excel Discussion (Misc queries) | |||
display negative number as zero | Excel Discussion (Misc queries) | |||
display negative numbers as zero | Excel Discussion (Misc queries) | |||
How to display the negative bar in bar chart? | Charts and Charting in Excel |