Compare and find missing data in 2 columns with multiple lines in single cell

Chantilly

New Member
Joined
Jul 15, 2019
Messages
10
Hello,

I'm looking to compare 2 columns on a single sheet that have multiple lines within a single cell (text values). I would like to highlight or pull the missing data of all text in Column A that does NOT show up in Column B (OR highlight/pull data of all the matching text), but since there are multiple values within a single cell, I'm struggling to figure out how to do this.

Example:
Column AColumn B
Henry
Joan
Alice
John
Peter
MaryAlice
Henry
Peter
FredJoan
Mary

*In this example, Henry, Joan and Alice are in a single cell in Column A, and show up in Column B (either singularly in a cell or multiple lines in a cell)...so they should match (be true, etc.)
But Fred would be the missing data - as Fred is listed in Column A but not in Column B. I would like to either highlight or pull the text data of "Fred" showing that there is no match in Column B. Or alternatively, highlight all the matching data between the 2 columns and not the missing data (ie. Henry, Joan, Alice, Peter, Mary).

I have tried conditional formatting and Vlookup, but again, the issue of the multiple lines in a single cell makes it not work the way I'm needing.

Is there any way to do this??

Please help!

Thank you!!! :)
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,506
Messages
6,125,189
Members
449,213
Latest member
Kirbito

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