Converting a Date Code

Danielle22103

New Member
Joined
Dec 15, 2005
Messages
13
I have imported a file that is in the date format: 20060811. I want to change the date to show 11-May-06 but when i try to change the format i it shows: ###############################################################################################################################################################################################################################################################


Can anyone show me how to change the format so i don't have to retype each individual date?

Thanks :p
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Do you mean 11-Aug-06? Assuming your imported date is in cell A1 then use the formula =TEXT(DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)),"dd-mmm-yy") in another cell to get your desired result. If you have lots of imported dates down the page, in say column A, use column B to convert the dates using that formula copied down.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,008
Members
448,935
Latest member
ijat

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