Skip to main content

Kutools for Office β€” One Suite. Five Tools. Get More Done.

How to highlight duplicate values except first instance in Excel?

Author Xiaoyang Last modified

When working with large datasets in Microsoft Excel, it is often necessary to identify duplicate values. However, sometimes you may need to highlight only the subsequent occurrences of a duplicate while leaving the first instance unmarked. This guide will show you how to achieve this efficiently using some easy methods.

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

Conditional Formatting is a built-in Excel feature that allows you to apply formatting rules based on specific conditions. Here’s how to use it to highlight duplicates except for the first instance:

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

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

A screenshot of Conditional Formatting in Excel to create a new rule

3. In the "New Formatting Rule" dialog box, specify the following operations:

  • Select "Use a formula to determine which cells to format" option under the "Select a Rule Type" list box;
  • Then enter this formula into the "Format values where this formula is true" text box;
    =COUNTIF($A$2:$A2, A2)>1
  • Click "Format" button.
    A screenshot of the New Formatting Rule dialog box in Excel with the formula for highlighting duplicates
πŸ” Explanation of the formula:
  • COUNTIF($A$2:A2, A2): This counts how many times the value in A2 appears from A2 to the current row.
  • > 1: This ensures that only the second and subsequent instances are highlighted, while the first occurrence remains unmarked.

4. In the "Format Cells" dialog box, under the "Fill" tab, specify one color you like to format the duplicates, see screenshot:

A screenshot of the Format Cells dialog box in Excel under the Fill tab

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:

A screenshot showing highlighted duplicate values except the first instance in Excel

Advantages:
  • βœ”οΈ Built-in Excel Feature – No need for external tools or add-ins.
  • βœ”οΈ Dynamic Updates – Formatting updates automatically when new data is added.
  • βœ”οΈ Customizable – Can be combined with other formulas and formatting options.
Disadvantages:
  • ❌ Complex for Large Datasets – Slows down performance in large Excel files.
  • ❌ Limited Customization – Cannot easily select or delete highlighted values in bulk.
  • ❌ Requires Manual Formula Entry – Users unfamiliar with Excel formulas may find it challenging.

Highlight duplicate values except first instance with Kutools for Excel

For a faster and more user-friendly way to highlight duplicate values while keeping the first instance unmarked, you can use "Kutools for Excel". Its "Select Duplicate & Unique Cells" utility allows you to effortlessly select or highlight duplicates or unique values based on your preferences.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as follows:

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

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

A screenshot of the Select Duplicate & Unique Cells option in Kutools tab on the ribbon

3. In the "Select Duplicate & Unique Cells" dialog box, configure the following pptions:

  • Select "Each row" from the "Based on" section;
  • Then, select "Duplicates (Except 1st one)" option under the "Rule" section;
  • And then, specify a background or font color you want to format the duplicates under the "Processing of results";
  • Finally, click "OK" button.
    A screenshot of the Select Duplicate & Unique Cells dialog box

Result: A prompt box will pop out to remind you how many duplicate cells, excluding the first one, have been selected, and all the duplicate values but first instance are highlighted as well, see screenshot:

A screenshot showing highlighted duplicates excluding the first instance in Excel with Kutools

Advantages:
  • βœ”οΈ Fast and Easy – No need to write formulas; the process is automated.
  • βœ”οΈ More Control – Allows users to select, delete, or copy highlighted duplicates.
  • βœ”οΈ Efficient for Large Datasets – Works well with thousands of rows without performance issues.
  • βœ”οΈ Case-Sensitive Detection – Can identify duplicates while considering differences in uppercase and lowercase letters.
Disadvantages:
  • ❌ Requires Add-in Installation – Kutools is a third-party tool that needs to be installed separately.

Conclusion

Highlighting duplicate values except for the first instance is a valuable skill for data management in Excel. Whether you choose to use Conditional Formatting (a free and flexible method) or Kutools for Excel (a powerful and efficient third-party tool), both methods can help you achieve your goal. Choose the method that best suits your needs. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials to help you master Excel.


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

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download 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
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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...


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!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite β€” Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license β€” set up in minutes (MSI-ready)
  • Works better together β€” streamlined productivity across Office apps
  • 30-day full-featured trial β€” no registration, no credit card
  • Best value β€” save vs buying individual add-in