Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tomashruska
 
Posts: n/a
Default How do I display negative time values in excell?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cumberland
 
Posts: n/a
Default How do I display negative time values in excell?


I assume you mean that you want to display, say, 15:15 as -15:15?

It can't be done in the sense of proper time, because you simply
couldn't have -15:15 in real life, so Excel won't let you do it either.
Time in Excel is represented as a decimal number. IE: 15:15 is
interpreted by Excel as 0.635417, so if you were to convert 0.635417 to
-0.635417, the time would actually display as # signs.

The only way to do it would be to convert it to pure text.

If A1 contained 15:15, then cell B1 could have the formula:

="-"&TEXT(A1,"hh:mm")

Which would show *-15:15* in cell B1.


--
Cumberland
------------------------------------------------------------------------
Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445
View this thread: http://www.excelforum.com/showthread...hreadid=536404

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default How do I display negative time values in excell?

If you change the base date to 1904
(Tools|Options|calculation tab|check 1904 date system)
you can see negative times.

But be aware that you may mess up your dates (by 4 years and a day). And
copying cells with dates between two workbooks with different base dates will
cause this same trouble.



tomashruska wrote:

--

Dave Peterson
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
time sheet drop down lists Steve Excel Discussion (Misc queries) 12 March 18th 06 10:30 PM
Negative Time alexfthe Excel Worksheet Functions 3 March 11th 06 11:06 AM
I seem unable to display negative values with brackets Ferd Excel Discussion (Misc queries) 3 January 31st 06 10:36 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
negative time joshua Excel Discussion (Misc queries) 1 January 6th 05 06:41 PM


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