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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
If this date is in cell A1, what happens when you enter the formula =a1+0 in a blank cell?
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,094
Latest member
bsb1122

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