Date format

22strider

Active Member
Joined
Jun 11, 2007
Messages
311
Hello,

How can I convert data that is in Date format "dd/mm/yyyy" to Date format "mm/dd/yyyy". For example I need to convert 01/02/2022 (February 1, 2022) to 02/01/2022.

I have tried options given in Excel format menu but they did not work.

Regards,
Rajesh
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
If formatting doesn't work then it suggests that the original dates are not valid.

Try selecting the dates, then going to the Data tab on the excel ribbon. Choose Text To Columns.
Click Next twice, then change the date dropdown to DMY and click Finish.

Now when you change the format it should work. If it does not then there could be another problem with the original dates such as hidden characters that prevent them from being converted properly.
 
Upvote 0
is your dateformat a real string or a number in numberformat "dd/mm/yyyy".
In that 2nd case, you only have to change the numberformat.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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