Convert General to Date

RRA23

New Member
Joined
Mar 13, 2002
Messages
7
Hi, I have in cells such as:
20010228
and i need to convert it to date format, such as:
02/28/2001

can anyone provide some advice?

thanks,
RRA
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about this?

=DATEVALUE(MID(A1,5,2) &"/" &RIGHT(A1,2) &"/" & LEFT(A1,4))

HTH,
D
 
Upvote 0
On 2002-03-14 11:09, RRA23 wrote:
Hi, I have in cells such as:
20010228
and i need to convert it to date format, such as:
02/28/2001

1. After selecting the cells containing your values choose the Data | Text to Columns... menu command.
2. Press [ Next > ] until you reach Step 3 of 3 where you'll click the 'Date' radio button and pick YMD from its drop down list.
3. Press [ Finish ].
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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