Find duplicate over a range.

Lythande

Board Regular
Joined
Oct 3, 2006
Messages
160
In sheet 2's A column I have about 700 rows of numbers. In sheet one in G column I have over 2000 rows of numbers. Tried Conditional Formatting>Highlight Cell Rules>Text That Contains...then selected the range of 700 rows in the other sheet. No luck--it seems I can only highlight one cell at a time for this to work and it's rather impractical.

Anyone know of a way to highlight duplicates in a column from a range in another column?
I bet it's something simple that I overlooked.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Have you considered using a CountIF formula that way you can determine if a cell has the same contents.
 
Upvote 0
Never tried Countif via selecting a bunch of cells in in a column, and not sure how it would work towards my goal. Can you elaborate?
 
Upvote 0
The countif function can help identify if duplicate references appear in different lists, for example sheet one has a list of account numbers and you need to check to see how many times the account appears on another list in another sheet so you would select to create a countif formula in a blank column but refer to say cell A2 (first check) then the additional range would be selecting Sheet 2 and Column A (where the accounts are listed). You then get a number indicating how many times it is found, then fill the formula down by double clicking the AutoFill handler at the bottom right of the cell.

Then you could filter and do what you need to based on the results.

Small example shown here.

Excel Workbook
AB
1Account NumberCountif
212344
323453
434563
534574
Sheet1

Excel Workbook
A
1Master list of Account Number
21234
32345
43457
51234
62345
73456
83457
91234
103456
113457
121234
132345
143456
153457
Sheet2
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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