ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2003 Dates - Strange behaviour (https://www.excelbanter.com/excel-programming/405017-excel-2003-dates-strange-behaviour.html)

Sagu

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

DomThePom

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


Sagu

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


All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com