CUSTOME SPLIT TEXT various lengths

mval

New Member
Joined
Jan 23, 2009
Messages
39
Hi experts in Excel!

I have a problem that I can't solve, and after hours of research I could not find anything that would be help me, so here I am asking for help.

Here is my problem:

I have a spreed sheet with about 10,000 rows in one column A (RAW DATA) the data is in different lengths and I want to split each field to 3 B (DESC1), C (DESC2) and D (DESC3). Here is an example:

RAW DATA
DESC1DESC2DESC3
CENTRIFUGE FEED PUMP 2 & 3 COMMON ISOLATION VALVE 2 CLOSEDCENTRIFUGE FEED PUMP 2 & 3 COMMONISOLATION VALVE 2 CLOSED
CENTRIFUGE FEED PUMP 2 & 3 COMMON ISOLATION VALVE 2 OPENEDCENTRIFUGE FEED PUMP 2 & 3 COMMONISOLATION VALVE 2 OPENED
CENTRIFUGE FEED PUMP 3 & 4 COMMON ISOLATION VALVE CLOSEDCENTRIFUGE FEED PUMP 3 & 4 COMMONISOLATION VALVE 2 CLOSED
CENTRIFUGE FEED PUMP 3 & 4 COMMON ISOLATION VALVE OPENED
CENTRIFUGE FEED PUMP 3 & 4 COMMONISOLATION VALVE 2 OPENED
THICKENING CENTRIFUGE 1 LEVEL HIGH HIGHTHICKENINGCENTRIFUGE 1LEVEL HIGH HIGH
THICKENING CENTRIFUGE 1 LEVEL LOW LOWTHICKENINGCENTRIFUGE 1
LEVEL LOW LOW
THICKENING CENTRIFUGE 1 THICKENED SLUDGE DENSITY FAULTTHICKENING CENTRIFUGE 1THICKENED SLUDGEDENSITY FAULT
THICKENED SLUDGE SAMPLE PUMP 1 DISCHARGE PRESSURE HIGH/LOWTHICKENED SLUDGE SAMPLESAMPLE PUMP 1DISCHARGE PRESSURE HIGH/LOW
THICKENED SLUDGE SAMPLE PUMP 1 FAILTHICKENED SLUDGE SAMPLESAMPLE PUMP 1FAIL
THICKENED SLUDGE SAMPLE PUMP 1 IN REMOTETHICKENED SLUDGE SAMPLESAMPLE PUMP 1
IN REMOTE
THICKENED SLUDGE SAMPLE PUMP 1 RUNNINGTHICKENED SLUDGE SAMPLESAMPLE PUMP 1RUNNING
THICKENED SLUDGE SAMPLE PUMP 1 SEAL WATER PRESSURE LOWTHICKENED SLUDGE SAMPLESAMPLE PUMP 1SEAL WATER PRESSURE LOW
THICKENED SLUDGE SAMPLE PUMP 1 STATOR TEMP HIGHTHICKENED SLUDGE SAMPLESAMPLE PUMP 1STATOR TEMP HIGH

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

the lengths of the DATA RAW varies throughout.

can someone help me?
thank you in advance and I hope provide enough information.

thank you!!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Unfortunately, without a consistent pattern, this simply cannot be done with a macro.
Example:
THICKENING CENTRIFUGE 1 LEVEL LOW LOW
splits very differently from
THICKENING CENTRIFUGE 1 THICKENED SLUDGE DENSITY FAULT
In the first case the CENTRIFUGE 1 is Desc 2 and in the other it's part of Desc 1.
There's no way to know where the slit occurs.
Even using the new feature in 2013, flash fill, it would be full of "mistakes" because there's no recognizable pattern.
10,000 rows? You should be able to do that manually in under 2 weeks, I'd say. Well, at 8 hours a day, anyway!
Sorry guy.
 
Upvote 0
BobUmlas,

Thank you for your input!!

I guess, I need to get busy!! LOL

Thank you again for your reply!!

:)
 
Upvote 0
Unfortunately, without a consistent pattern, this simply cannot be done with a macro.
Example:
THICKENING CENTRIFUGE 1 LEVEL LOW LOW
splits very differently from
THICKENING CENTRIFUGE 1 THICKENED SLUDGE DENSITY FAULT
In the first case the CENTRIFUGE 1 is Desc 2 and in the other it's part of Desc 1.
There's no way to know where the split occurs.
Just to follow up (in case you have access to the process that generated you raw data... if you could introduce a delimiter between the parts you want to split out (say a comma or comma/space for example), then a relatively simple formula is available, but given you data uses spaces for its delimiter and that data has internal spaces through out, there is no way to distinguish which spaces are delimiters and which are part of the data.
 
Upvote 0
Rick,

Thanks for the reply!!

I don't have the source of the data, so what I started to do is to split the column to several columns and CONCATENATE the info as I need it.

Thank you again!!

:)
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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