Trying to convert m/dd/yyyy to mm/dd/yyyy

pack605

New Member
Joined
Dec 11, 2018
Messages
18
I need the leading 0 in the single months. I have 1/01/2019 and want it to be 01/01/2019.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Have you tried changing the cell format?
 
Upvote 0
Hi, 2 ways:

1. Go to Number Format and change to mm/dd/yyyy
2. If number stored as text is ok then =TEXT(A1,"mm/dd/yyyy")
 
Upvote 0
I don't se a mm/dd/yyyy format when I select date.
You choose the Custom format option, and type in mm/dd/yyyy yourself.
 
Upvote 0
Not sure on the first one as I don't see mm/dd/yyyy in the Number format but the second one worked.
See my previous reply on 1.
On 2, just be aware that will return a Text value, not a valid Date (in case you need to use it for anything).
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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