Separating different lines from a single Excel Cell

Softsurf105

New Member
Joined
Dec 18, 2018
Messages
14
I have cells that look like the one below that contain "Class C Part#:", "Manufacturer", "Mfr. Part #", "Pack code" and "your price". I'm wanting to separate the Manufacturer into once cell and the Mfr. Part # into a different cell. I have about 2,000 of these that I need to do and none of them are the same manufacturer and there are different lengths in the part #.

Class C Part #:29

Manufacturer:CAR-PAK MANUFACTURING COMPANY

Mfr. Part #:95-7376

Pack Code - Qty:25 - PK

Your Price (USD):TBD

<tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Here you go:


Excel 2010
ABC
1Class C Part #:29 Manufacturer:CAR-PAK MANUFACTURING COMPANY Mfr. Part #:95-7376 Pack Code - Qty:25 - PK Your Price (USD):TBDManufacturer:CAR-PAK MANUFACTURING COMPANYMfr. Part #:95-7376
Sheet1
Cell Formulas
RangeFormula
B1=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("Manufacturer",A1),255),CHAR(10),REPT(" ",255)),255))
C1=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("Mfr. Part #",A1),255),CHAR(10),REPT(" ",255)),255))
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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