Separating identifications and dates in a cell

Nadine67

Board Regular
Joined
May 27, 2015
Messages
225
Hello and thanks in advance for any attention this post will receive.

I have a value in a cell that contains container id's and dates which i need to separate into separate cells. Column A is called 'Containers' and there are in excess of 1000 entries so separating manually is very laborious; a formula would be ideal - i have tried using LEN, MID, LEFT and RIGHT, with no success. I need to separate the id's (e.g. D5602) from the date. Some cells have two ID/ date combinations and others have 3 ID/date combinations. Some ID's have 4 characters and others have 5. Dates are always in brackets DD/MM/YY. Each ID/Date is separated by a comma. I do not wish to use 'Text to Columns as it is too manual a process.


COL 'A'
1CONTAINERS
2D5602(07/06/15),D540(06/06/15),C9856(30/05/15)

<TBODY>
</TBODY>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Enter this formula in B1 and pull to the right until you see blanks.

=TRIM(MID(SUBSTITUTE("("&SUBSTITUTE(SUBSTITUTE($A1,",",""),")","("),"(",REPT(" ",125)),125*COLUMNS($A:A),125))


Excel 2010
ABCDEFG
1D5602(07/06/15),D540(06/06/15),C9856(30/05/15)D560207/06/15D54006/06/15C985630/05/15
Sheet7
 
Upvote 0
Gidday and thank you AlKey. Your formula is returning exactly what i need. Thank you again and have a great day!
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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