Detecting Duplicate Entries

kkallay

New Member
Joined
Mar 14, 2002
Messages
1
I would like to display duplicate entries (which are allowed)in a column in red. I've tried this in conditional formatting (Formula Is)using the EXACT function to compare one cell against a range, but can't get it to work properly. I've applied the following to all cells in the column:
=EXACT(A3,$A$1:A2)
Is what I want to do possible?
Thank You
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Conditional formatting sounds good. But your use of EXACT is wrong. Instead of comparing a cell to a formula in conditional formatting, try selecting cells A1 and A2, goto Format|Conditional formatting|Cell value is|equal to|=$A$3
This will compare cells Al and A2 to cell A3.

Hope this helps.
Kind regards, Al.
 
Upvote 0
On 2002-03-15 12:13, kkallay wrote:
I would like to display duplicate entries (which are allowed)in a column in red. I've tried this in conditional formatting (Formula Is)using the EXACT function to compare one cell against a range, but can't get it to work properly. I've applied the following to all cells in the column:
=EXACT(A3,$A$1:A2)
Is what I want to do possible?
Thank You

Select the range of interest (say, A1:A100).
Activate Format|Conditional Formatting.
Choose 'Formula Is' for Condition 1.
Enter in the formula box:

=COUNTIF($A$1:$A$100,A1)>1

Activate Format.
Choose red either on Font or Patterns tab.
Click OK, OK.
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,216
Members
448,876
Latest member
Solitario

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