How to write dates in a general "dd-mm-yyyy" format without changing number format from "General" to "Date"

Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
422
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have this setup:

1668084437579.png


Now, when I write 01-09-2022 in cell A1 it automatically detects this as "Date" in the upper right corner as the number format.

However, if I change this to general format, it changes the value "44805" instead. If I then overwrite this to "01-09-2022" it automatically goes back making it into a text format.

I then have to use the formula in column C on all of column B where I type =TEXT(B1;"dd-mm-yyyy") and then I have to copy paste all of column C into column D as a value, which then gives me the result that I want, which is this:

1668084540109.png


However, this is a rather long and arduous task and I would really prefer to know a shorter path to writing my dates in a General format in the format of "dd-mm-yyyy".

I hope this makes sense and doesn't seem too confusing?

Does anybody know of a solution to this?

Thank you all! :)

Kind regards,
Jyggalag
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Why would you want your dates to be text, it makes things a lot harder. Dates should be left as real dates & not text.
 
Upvote 0
Why would you want your dates to be text, it makes things a lot harder. Dates should be left as real dates & not text.
I'm vlookuping from a different file where everything is in text :)
 
Upvote 0
Either use the TEXT function inside the VLOOKUP, or format the cells as text before you enter the dates in the required format.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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