Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Negative dates or times are displayed as ####

Negative dates or times are displayed as ####. The cell retains the
negative value. How can I display negative time as "h:mm AM/PM" in red or
with a negative sign? The cell should retain the negative value.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Negative dates or times are displayed as ####

You cant do it. The cell can contain only one value and
if that is a negative number you cannot have it display
a different number.

There are some options but why do you want it to keep the
negative number?

I can get it to show the date you want but it will be a positive
number and do other things to get it to be used as a negative
number if you reference it from other cells.


Chrissy.

"John Sheakley" wrote in message om...
Negative dates or times are displayed as ####. The cell retains the
negative value. How can I display negative time as "h:mm AM/PM" in red or
with a negative sign? The cell should retain the negative value.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Negative dates or times are displayed as ####

If you change the base date to 1904, then you'll see negative times.

Tools|options|calculation tab|check the 1904 date system.

But this'll change existing dates to about 4 years into the future.

You can adjust/fix the dates by putting 1462 in an empty cell.
Edit|copy it.
Select the cells with the "bad" dates.
Edit|Paste special|click subtract

John Sheakley wrote:

Negative dates or times are displayed as ####. The cell retains the
negative value. How can I display negative time as "h:mm AM/PM" in red or
with a negative sign? The cell should retain the negative value.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Negative dates or times are displayed as ####

That is because negative time is an anachronism.

If it is caused by time straddling midnight, just add 1 to the result to get
the true hours elapsed.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"John Sheakley" wrote in message
om...
Negative dates or times are displayed as ####. The cell retains the
negative value. How can I display negative time as "h:mm AM/PM" in red or
with a negative sign? The cell should retain the negative value.




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 Dates and/or Times watermt Excel Worksheet Functions 3 May 28th 09 06:55 PM
Negative times are displayed a ########### Omar Excel Discussion (Misc queries) 4 July 9th 07 02:32 PM
negative dates or times are displayed as # # # # Amr Shehata Excel Worksheet Functions 4 February 2nd 07 11:35 AM
negative dates or times are displayed as # # # # Amr Shehata New Users to Excel 3 November 9th 06 12:34 PM
Negative Times Displayed as # # # # AntnyMI Excel Discussion (Misc queries) 1 September 21st 06 04:43 PM


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