Compare 2 columns and delete all junk.

Uriakus

New Member
Joined
Nov 9, 2014
Messages
13
Hi, my English is not good but I will try.
I have a reference column with products and I want to compare it with another column and delete all text that is not related to the control column.

Example...

LG G6 .................... LG G6 New promotion
Samsung C5 .......... Samsung C5 Deal offer
iPhone X ................ IPhone X Black Friday

I would like a formula that can delete from the second column al text but the names in the control column from the right.
In this example it should delete...

New promotion
Deal offer
Black Friday

And leave the names intact as the control column.

Thanks in advance.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
ABC
Row 1LG G6LG G6 New promotion=IF(FIND(UPPER(A1),UPPER(B1))>0,A1,"Other Result")
Row 2Samsung C5Samsung C5 Deal offer=IF(FIND(UPPER(A2),UPPER(B2))>0,A2,"Other Result")
Row 3iPhone XIPhone X Black Friday=IF(FIND(UPPER(A3),UPPER(B3))>0,A3,"Other Result")

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,756
Messages
6,126,692
Members
449,330
Latest member
ThatGuyCap

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