Skip to main content

 How to highlight duplicate values except first instance in Excel?

In Excel, you can quickly highlight all duplicate values by using the Conditional Formatting command, but how could you highlight all duplicate values except the first instance in a worksheet? This article, I will talk about some useful tricks for you to solve this job.

Highlight duplicate values except first instance with Conditional Formatting

Highlight duplicate values except first instance with Kutools for Excel


Highlight duplicate values except first instance with Conditional Formatting

You can apply a simple formula in the Conditional Formatting to highlight all duplicates except the first record. Please do as follows:

1. Select the data column that you want to highlight the duplicates except first.

2. Click Home > Conditional Formatting > New Rule, see screenshot:

doc highlight duplicate but first 1

3. In the New Formatting Rule dialog box, select Use a formula to determine which cells to format option under the Select a Rule Type list box, then enter this formula =COUNTIF($A$2:$A2, A2)>1 (A2 is the first cell of th list you want to apply the Conditional Formatting, you can change it to your need) into the Format values where this formula is true text box, see screenshot:

doc highlight duplicate but first 2

4. Then click Format button to go to the Format Cells dialog box, under the Fill tab, specify one color you like to format the duplicates, see screenshot:

doc highlight duplicate but first 3

5. Then click OK > OK to close the dialogs, and all the duplicate values in the selected column have been highlighted excepting the first record, see screenshot:

doc highlight duplicate but first 4


Highlight duplicate values except first instance with Kutools for Excel

If you have Kutools for Excel, with its Select Duplicate & Unique Cells utility, you can select or highlight the duplicate or unique values as you like.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

After installing Kutools for Excel, please do as follows:

1. Select the data column that you want to highlight the duplicates except first.

2. Then click Kutools > Select > Select Duplicate & Unique Cells, see screenshot:

3. In the Select Duplicate & Unique Cells dialog box, select Duplicates (Except 1st one), and then specify a background or font color you want to format the duplicates under the Processing of results, see screenshot:

doc highlight duplicate but first 6 6

4. Then click Ok button, and a prompt box will pop out to remind you how many duplicate cells excluding first one have been selected, and all the duplicate values but first instance are highlighted as well, see screenshot:

doc highlight duplicate but first 7 7

Tips: if you neither check Fill background nor Fill font color options, it will only select the matching results without any color.

Click to know more about this Select Duplicate & Unique Cells utility…

Download and free trial Kutools for Excel Now !


Demo: Highlight duplicate values except first instance with Kutools for Excel

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (4)
Rated 1.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Apliqué la fórmula de la nueva regla, dónde de todos los duplicados se coloreó la primer instancia, pero en este caso la primer instancia, se trató yendo de arriba hacia abajo, la última celda, es decir: C1,C2,C3, coloreó C3. Hay forma de poder obtener el primer registro del orden? es decir, que la primer instancia sea C1 para que la coloree. Te agradecería mucho
This comment was minimized by the moderator on the site
Hello, Francisco
Sorry, I can't get your point, do you mean to highlihgt all duplicates or the first item of the duplicates?
Could you explain your problem more clearly in English?
Or you can insert a screenshot here.
Thank you!
This comment was minimized by the moderator on the site
Can you please recheck the article? Doesn't work as intended.
Rated 1.5 out of 5
This comment was minimized by the moderator on the site
Hello, Anon,
I have tested the formula, it works well in my workbook.
Which Excel version do you use?
Or you can upload the screenshot or file of your problem here, so, we can help to check where the problem is.
Thank you!🙂
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations