Date format in Switzerland...

Crazy_Ivan

Board Regular
Joined
Oct 8, 2007
Messages
115
Hi there,

Strange one - a colleague in Switzerland would like to be able to enter dates in the format 2.2.2023
Previously he has been able to do this and Excel has recognized this as a date
He got a new PC and when he enters in this way, Excel recognizes this as text, not a date

This is not a format within Excel question, because the cells he is updating are actually formatted dd mmm yyyy

So I guess there is a setting in Excel that recognizes the European format of dates entered, i.e. with the periods rather than the /s

Everything worked fine on his old PC, but we can't figure out what should be a basic question!

(We have tried changing Language options, but no luck so far)

Any advice would be hugely appreciated!!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I can't tell how you have determined the formatting in those cells formatted as "dd mmm yyyy" .... have you selected those cells and removed all formatting (changing the format to general) and confirmed that the cell now displays a date serial number ?
 
Upvote 0
I can't tell how you have determined the formatting in those cells formatted as "dd mmm yyyy" .... have you selected those cells and removed all formatting (changing the format to general) and confirmed that the cell now displays a date serial number ?
Thanks for your comment

This is a shared workbook

So it is not an issue with formating the cells

It relates to how Excel recognises inputs

So if he enters 3.1.23, Excel does not recognize this as a date
He needs to enter 3/1/23

Previously, he could enter 3.1.23 and Excel would recognize this as a date




1694596168236.png
 
Upvote 0
Thanks for your comment

This is a shared workbook

So it is not an issue with formating the cells

It relates to how Excel recognises inputs

So if he enters 3.1.23, Excel does not recognize this as a date
He needs to enter 3/1/23

Previously, he could enter 3.1.23 and Excel would recognize this as a date




View attachment 98647
I disagree. Look at item 4 in that link I gave you. That shows how Excel expects you to input dates, and you can change those settings.

The only other way I can think of is to use VBA to "intercept" dates inputs into certain cells, and have the VBA code convert them into valid dates.
 
Upvote 0
Thanks for your comment

This is a shared workbook

So it is not an issue with formating the cells

It relates to how Excel recognises inputs

So if he enters 3.1.23, Excel does not recognize this as a date
He needs to enter 3/1/23

Previously, he could enter 3.1.23 and Excel would recognize this as a date




View attachment 98647

@Crazy_Ivan , if you want the forum to help you best, at least try to help the forum help you. The amount of time it took you to write that reply was ten times the amount of time it takes to select cells, click number format, click general.

I am not saying you are wrong, but you are not helping the forum help you find a solution.
 
Upvote 0
This problem is not related to Excel, but to the Windows Operating System.

You can define a custom time format in Windows through the Region tab in the Control Panel.

First, hit the Win key, type “Control Panel”, and select the appropriate option to launch Control Panel.
Next, under Clock and Region, click change date, time, or number formats to open the Region panel.
Once in the Region tab, hit Additional settings - Date - short date
Set it to: d.M.yy

Go back to Excel and enter the dates, Excel will recognize it.
 
Upvote 0
This problem is not related to Excel, but to the Windows Operating System.

You can define a custom time format in Windows through the Region tab in the Control Panel.

First, hit the Win key, type “Control Panel”, and select the appropriate option to launch Control Panel.
Next, under Clock and Region, click change date, time, or number formats to open the Region panel.
Once in the Region tab, hit Additional settings - Date - short date
Set it to: d.M.yy

Go back to Excel and enter the dates, Excel will recognize it.
Yep, I already mentioned that in my first reply.
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top