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
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,604
Messages
5,597,128
Members
414,126
Latest member
jellevansoelen

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