Convert text to UK date

uncleslinky

New Member
Joined
Mar 31, 2009
Messages
47
Hey guys

I have a list of dates which are TEXT as follows: Fri 01 Aug 2014
Each 'date' is the same format DDD DD MMM YYYY

Is there a way to convert this text into an actual date which can be filtered and recognised by Excel. Ideally I would like the date to be shown in UK format as follows "DD/MM/YYYY"

:)

Thanks
Rich
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Maybe:

=DATE(--RIGHT(A1,4),MONTH(MID(A1,8,3)&1),--MID(A1,5,2))

and formatted as date
 
Upvote 0
Another way:

Row\Col
A​
B​
C​
1​
Fri 01 Aug 2014
01/08/2014​
B1: =--MID(A1, 5, 11)
 
Upvote 0
To make sure the text extraction becomes a date you can wrap it in the Datevalue function:

e.g. =DATEVALUE(RIGHT(A1,LEN(A1)-4))

Ford, the text function used was changed for variety (and echo avoidance :)).
 
Upvote 0

Forum statistics

Threads
1,206,711
Messages
6,074,479
Members
446,071
Latest member
gaborfreeman

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