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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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
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")

Not sure on the first one as I don't see mm/dd/yyyy in the Number format but the second one worked.
 
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,214,540
Messages
6,120,106
Members
448,945
Latest member
Vmanchoppy

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