Date to text

oldham94l

Board Regular
Joined
Jul 14, 2002
Messages
136
can i change 23/10/02 from a date format to text format so either 23 october 2002, or 23/10/02
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
If this date is in cell A1, what happens when you enter the formula =a1+0 in a blank cell?
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
I thought the answer would either be a value! error or 23/10/2002.

Use text to columns under the data menu. Highlight, hit next, next again, and finally choose DMY under date.

If you want a formula you could use
=DATE(RIGHT(A1,4),MID(A1,FIND("/",A1)+1,FIND("L",SUBSTITUTE(A1,"/","L",2))-FIND("/",A1)-1),LEFT(A1,FIND("/",A1)-1))

A much simplier formula could be developed if your months and days are always two digits in the current format. This is more a generic catch all.
This message was edited by IML on 2002-10-23 16:43
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,863
Messages
5,834,051
Members
430,259
Latest member
msthiagu

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
Top