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 #.

[TABLE="width: 436"]
<tbody>[TR]
[TD="class: xl64, width: 436"]Class C Part #:29

Manufacturer:CAR-PAK MANUFACTURING COMPANY

Mfr. Part #:95-7376

Pack Code - Qty:25 - PK

Your Price (USD):TBD [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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