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

I have two cells that carry two different times as follow
cell A1 has 00:05:00
cell A2 has 00:04:00
cell A3 should display the difference in negative way(-00:01:00). I only get
##### instead of the answer in cell A3 and a message reads (negative dates or
times are displayed as # # # #) Your help will much appricated. thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default negative dates or times are displayed as # # # #

Change to the 1904 date system

ToolsOptionsCalculation, and check the 1904 date system.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Amr Shehata" <Amr wrote in message
...
I have two cells that carry two different times as follow
cell A1 has 00:05:00
cell A2 has 00:04:00
cell A3 should display the difference in negative way(-00:01:00). I only

get
##### instead of the answer in cell A3 and a message reads (negative dates

or
times are displayed as # # # #) Your help will much appricated. thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default negative dates or times are displayed as # # # #

Thanks Bob for reply. It worked fine but the other problem now that it did
change all other dates on the workbook to year 2002 instead of 2006.
It is the time that I need to display and not the date. Please let me know
if there is any work around it.
Kind regards,
Amr Shehata

"Bob Phillips" wrote:

Change to the 1904 date system

ToolsOptionsCalculation, and check the 1904 date system.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Amr Shehata" <Amr wrote in message
...
I have two cells that carry two different times as follow
cell A1 has 00:05:00
cell A2 has 00:04:00
cell A3 should display the difference in negative way(-00:01:00). I only

get
##### instead of the answer in cell A3 and a message reads (negative dates

or
times are displayed as # # # #) Your help will much appricated. thanks




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default negative dates or times are displayed as # # # #

you can reset them all with a simple macro

For each cell In Activesheet.UsedRange
If Isdate(cell.Value) Then
cell.Value = DateSerial(Year(cell.Value)+4, Month(cell.Value),
Day(*cell.Value)
End If
Next cell

All dates created from now on will be okay anyways.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Amr Shehata" wrote in message
...
Thanks Bob for reply. It worked fine but the other problem now that it did
change all other dates on the workbook to year 2002 instead of 2006.
It is the time that I need to display and not the date. Please let me know
if there is any work around it.
Kind regards,
Amr Shehata

"Bob Phillips" wrote:

Change to the 1904 date system

ToolsOptionsCalculation, and check the 1904 date system.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Amr Shehata" <Amr wrote in message
...
I have two cells that carry two different times as follow
cell A1 has 00:05:00
cell A2 has 00:04:00
cell A3 should display the difference in negative way(-00:01:00). I

only
get
##### instead of the answer in cell A3 and a message reads (negative

dates
or
times are displayed as # # # #) Your help will much appricated. thanks






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Thanks

Thank you

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
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
Calculate number of hours between dates and times excluding Weekends [email protected] Excel Discussion (Misc queries) 1 October 21st 06 02:16 AM
Negative Times Displayed as # # # # AntnyMI Excel Discussion (Misc queries) 1 September 21st 06 04:43 PM
Dispalying negative times Francis Brown Excel Worksheet Functions 4 November 20th 05 02:09 AM
Count number of times a specific number is displayed in a cell ran subs Excel Worksheet Functions 1 June 27th 05 05:01 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM


All times are GMT +1. The time now is 07:27 AM.

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"