Date Format 10.04.2020

ashishpatel34

New Member
Joined
Apr 18, 2019
Messages
2
I want to convert the date format 10.04.2020 to 10-April-2020.

In my report 10.04.2020 is the default format and it is not accepting this formula =DATE(LEFT(M2,2),MID(M2,3,2),RIGHT(M2,4)).

Please help me or give me a solution.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi there. Try this:
Rich (BB code):
=DATE(RIGHT(M2,4),MID(M2,4,2),LEFT(M2,2))
 
Upvote 0
Are your dates real dates but formatted as mm.dd.yyyy (or is that dd.mm.yyyy?)?

If they are real dates, you merely need to change the number formats of the dates.

If they are text that looks like dates formatted in your specific way, then you need to parse the strings as suggested by @jmacleary.
 
Upvote 0
Do you really need a live formula? I can give you a quick procedure that will either convert your values to real dates either within the cells they currently reside in or to some offset column... your choice.

Select the column with your "dates" in them, bring up the Text To Columns dialog box (Data tab, Data Tools panel), click the Next key twice, select the Date option button and pick the correct order for your data values for your locale (either MDY for month.day.year or DMY for day.month.year), choose a different Destination cell address if you do not want to overwrite your text dates with real dates, finally, click the Finish button.
 
Upvote 0

Forum statistics

Threads
1,213,528
Messages
6,114,154
Members
448,553
Latest member
slaytonpa

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