Extract data before a carriage return and after a semicolon

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I have data in a cell of lots of notes.
I have data all in one cell that is like this...

Company: Big Business Sales
12345 Long Drive
Pia, Long Island, NY 12345
Obviously separated by a carriage returns.
Can I make a formula to extract anything after company: and before the first carriage return.

Thank You for any help.
A formula please!!! No code if possible.

Michael
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Let me try again!

In cell N2 I have:
Company: Big Business Sales
12345 Long Drive
Pia, Long Island, NY 12345
Each line separated by carriage return

Can I have VBA code that will take the active cell and put in O2:
Company: Big Business Sales
P2:
12345 Long Drive
Q2:
Pia, Long Island, NY 12345
etc. etc. on down.
Have it do this after every carriage return no matter how many there are?

Please I thank you,
MIchael
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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