Split date ##/##/#### into 3 columns

AndiH

New Member
Joined
Dec 3, 2009
Messages
41
I would like to split a column of dates, eg 1/5/2012 into 3 columns at the "/". I've added the 3 new columns and tried "Text to Columns" but it asks if I want to overwrite the existing but I can't see the option to do otherwise. If I do that anyway, when the cells are split I get 3 different bizarre dates in the same format: Col A = 1/5/1900 Col B=1/1/1900 and Col C=7/4/1905.

Can concatenate be used to separate strings as well as combine them? I thought I've used concatenate in the past to split out strings and dates in order to rejoin them later later but can't find that function either.

Thank you.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I still get the same format in all 3 columns as I did with text to column. Any other ideas?

Thank you!
 
Upvote 0
I changed the format to general and it worked. I'm still curious if concatenate can be used to split and then later join data back together.

Thanks Andi
 
Upvote 0
Looks like we typed at the same time. You can use =DATE(year,month,day) to merge.

EDIT: Another option is if you want to use concatenate, you can merge with DATEVALUE, but DATE is easier IMHO

=DATEVALUE(B6&"/"&C6&"/"&D6)
 
Last edited:
Upvote 0
#1 When you do Text to Columns: Be Sure to set the format type to "General"

#2 And the other guess is you tried Peter's formula in cells which were previously formatted as Date (Due to #1)

Sherlock anyone ;) (Bad timing what else? OP found it out)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,777
Members
452,942
Latest member
VijayNewtoExcel

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