View Single Post
 
Old 07-04-2023, 11:46 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 10 Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,948
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Quote:
Originally Posted by SWG72 View Post
Hi....I am having problems with entering dates....if I enter 30/06/23 (UK format), it is showing as 28/01/2723. What settings do I need to change?? Thanks

That is because :
1. Your cells are formatted as dates
2. You entered a date as a continuous string "300623" which is the background value of the date you get ( or the 300623th day after Jan 1st 1900 which is day 1)

You have to enter the date as you would like to see it: first the day, then / then the month then / then the year
Formatting is how XL shows things to the outside world,the underlying value, in this case is still a number
If you wish to enter a continuous string and that it appears as a date, some VBA or Power Query will help
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote