Solution to Highlight identical columns

Joozh

Board Regular
Joined
Dec 30, 2002
Messages
114
Hi,

I am looking for a manual as well as a VBA solution for this post. If you look at the attached image I need a solution to highlight a column (Col.2 in the case of my example) if the contents/value of Col.2 match Col. 1

og9m5c.jpg


Many advance thanks for your help.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Conditional Formatting

New Rule

=(UPPER(A1)=UPPER(B1))

format as required and use format painter to copy to other requiredcells
 
Upvote 0
Conditional Formatting will work for this

Excel Workbook
AB
2ABCABX
3tyttTYTT
4tytttytt
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B21. / Formula is =EXACT(A2,B2)Abc
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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