VBA Highlight Duplicates if exact text found

decadence

Well-known Member
Joined
Oct 9, 2015
Messages
525
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2010
  5. 2007
Platform
  1. Windows
Hi I am trying to highlight duplicate cells if the cell contains the same text as another, I have tried using conditional formatting but that doesn't seem to work. The Criteria I need is if text is found either on it's own, between a comma or between a space
Is this Possible?

Example:

[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]R1,R3,R3.1,R8[/TD]
[/TR]
[TR]
[TD]R100, R111[/TD]
[/TR]
[TR]
[TD]R2 R3_1 R5[/TD]
[/TR]
[TR]
[TD]R3.1 R9[/TD]
[/TR]
[TR]
[TD]R2[/TD]
[/TR]
[TR]
[TD]R3_1 R50
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,225,741
Messages
6,186,763
Members
453,370
Latest member
juliewar

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