Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Excel 2003 Dates - Strange behaviour

Hello all,

I am not sure, if any one else has faced the same problem. Please
advise.

Issue:
I have formatted cell "D1" as Date with Category as "14/03/01" and
locale as " English(Australia)"
I have a few calculations based on the date entered in cell "D1"

When I enter the date as "23/05/05" , the numerical calculations throw
an "#VALUE!" error.
But, when I enter the date as "05/23/05", the cell "D1" reverts it to
"23/05/05" and the numerical calculations give me the correct answer.

My question is, when the cell is formatted in the "dd/mm/yy" format
and if i enter the date in the same format, why do the calculations
fail? When i enter the dates in the "mm/dd/yy" format, the cell format
in D1, converts them into "dd/mm/yy" format and the calculations run
through without any issue.

My machine's regional settings is set to location : United States.
Could this be the source of the problem?

Please advise.

Thanks,
Sagar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Excel 2003 Dates - Strange behaviour

Yes - change regional settings to UK or somewhere non US

"Sagu" wrote:

Hello all,

I am not sure, if any one else has faced the same problem. Please
advise.

Issue:
I have formatted cell "D1" as Date with Category as "14/03/01" and
locale as " English(Australia)"
I have a few calculations based on the date entered in cell "D1"

When I enter the date as "23/05/05" , the numerical calculations throw
an "#VALUE!" error.
But, when I enter the date as "05/23/05", the cell "D1" reverts it to
"23/05/05" and the numerical calculations give me the correct answer.

My question is, when the cell is formatted in the "dd/mm/yy" format
and if i enter the date in the same format, why do the calculations
fail? When i enter the dates in the "mm/dd/yy" format, the cell format
in D1, converts them into "dd/mm/yy" format and the calculations run
through without any issue.

My machine's regional settings is set to location : United States.
Could this be the source of the problem?

Please advise.

Thanks,
Sagar

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Excel 2003 Dates - Strange behaviour

On Jan 28, 3:51*am, DomThePom
wrote:
Yes - change regional settings to UK or somewhere non US



"Sagu" wrote:
Hello all,


I am not sure, if any one else has faced the same problem. Please
advise.


Issue:
I have formatted cell "D1" as Date with Category as "14/03/01" and
locale as " English(Australia)"
I have a few calculations based on the date entered in cell "D1"


When I enter the date as "23/05/05" , the numerical calculations throw
an "#VALUE!" error.
But, when I enter the date as "05/23/05", the cell "D1" reverts it to
"23/05/05" and the numerical calculations give me the correct answer.


My question is, when the cell is formatted in the "dd/mm/yy" format
and if i enter the date in the same format, why do the calculations
fail? When i enter the dates in the "mm/dd/yy" format, the cell format
in D1, converts them into "dd/mm/yy" format and the calculations run
through without any issue.


My machine's regional settings is set to location : United States.
Could this be the source of the problem?


Please advise.


Thanks,
Sagar- Hide quoted text -


- Show quoted text -


Thanks for your help, Dave and DomThePom. It fixed the problem

Thanks,
Sagar
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
Strange Excel behaviour Corey Excel Programming 6 May 29th 07 03:13 AM
strange behaviour in Excel 2003 when importing XML Marius Bancila Excel Discussion (Misc queries) 1 October 23rd 06 08:53 AM
Strange behaviour - loading Excel clears Clipboard Trevor Shuttleworth Excel Discussion (Misc queries) 1 August 19th 06 10:04 PM
Excel strange (erroneous?) decimal behaviour DoctorG Excel Programming 8 October 25th 05 09:30 AM
Is there a maximum number of Add-ins allowed? - strange Excel behaviour Bennie Douma Excel Programming 1 July 23rd 04 01:02 AM


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