Highlighting Duplicates in Multiple Columns and Worksheets using Conditional Formatting

noiseboy23

New Member
Joined
Mar 29, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. MacOS
Hello All,

I am trying to highlight duplicates that can appear over a range of cells in multiple columns, in multiple worksheets. So far, have been successful in doing so on a single sheet, but I am now stuck as to making this work to the next sheet.

the Ranges this is applied to are D4:H259,J4:J259
=COUNTIF(!$D$4:$K$259,INDIRECT(ADDRESS(ROW(),COLUMN(),)))>1

this seems to work ignoring the I and K Columns, that contain other data that needs to be omitted from THIS condition.

Any help would be greatly appreciated.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Further to my last post. I have noticed that this is not 100% correct. I have discovered that if there is a match in Column I or K, the match in Columns D-H and J will highlight, but I or K will remain unhighlighted...
 
Upvote 0

Forum statistics

Threads
1,215,529
Messages
6,125,344
Members
449,219
Latest member
Smiqer

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