Replace Part of a Text String With Value from Adjacent Array

pebarry

New Member
Joined
Aug 28, 2016
Messages
13
Hello!!

I have one column of text values. Each value I need replaced has ">" in-between each string I need replaced. It looks like (begins in cell A1 and goes on for approx 5,00 rows; each line is different):

PST - Out of Market - Brand - Exact > PST - Out of Market - Brand - Exact > PST - Out of Market - Brand - Exact > PST - Out of Market - Brand - Exact
St Louis - In Market - PST - Brand - Exact > St Louis - In Market - PST - Brand - Exact > St Louis - In Market - PST - Brand - Exact
RN-BSN - All Markets - Nonbrand - Phrase > RN-BSN - All Markets - Nonbrand - Phrase > RN-BSN - All Markets - Nonbrand - Phrase



I have an array with each text string I want replaced:
Text String (cell c1) Replace With (cell d1)
PST - Out of Market - Brand - Exact Brand
St Louis - In Market - PST - Brand - Exact In Market brand
RN-BSN - All Markets - Nonbrand - Phrase NonBrand

Does anyone have a formula I can use to make this easy?

Thanks!!!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
My thread got unformatted.

Text String in Cell C1: PST - Out of Market - Brand - Exact
Replace with in cell D1: Brand

Text String in cell C1:
St Louis - In Market - PST - Brand - Exact
Replace with in cell D1: In market Brand

 
Upvote 0

Forum statistics

Threads
1,214,548
Messages
6,120,141
Members
448,948
Latest member
spamiki

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