Skip to main content

How to hide rows if duplicate in Excel?

For example you have a table with some duplicate rows, and now you want to hide these duplicate rows, how do you get it done in Excel? Here I will introduce both methods to solve it easily.


Hide rows if duplicate with Advanced Filter feature

Actually, we can apply Microsoft Excel’s Advanced Filter feature to hide duplicate rows in a range easily. You can do as follows:

1. Select the range that you will hide duplicate rows, and click the Data > Advanced.

2. In the opening Advanced Filter dialog box, check the Unique records only option, and click the OK button.

Then you will see only unique rows are filtered out in the selected range as below screen shot shown:


Hide rows if duplicate with Kutools for Excel

Sometimes, you may want to hide all duplicate rows including the first one (or excluding the first one). In this case, you can try Kutools for Excel’s Select Duplicate & Unique Cells utility in Excel.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Select the range that you will hide duplicate rows, and click the Kutools > Select > Select Duplicate & Unique Cells.

2. In the Select Duplicate & Unique Cells dialog box, check the Duplicates (Except 1st one) option or All duplicates (Including 1st one) option, check the Select entire rows option, and click the Ok button. See below screen shot:

A dialog box will pops out and display how many rows have been selected. Click the OK button to close it.

3. Right click the selected row header and select the Hide from the right-clicking menu.

Then you will see all duplicate rows are hidden at once as following screen shots shown:

Select Duplicates (Except 1st one), you can get result:

Select All duplicates( Including 1st one), you can get result:

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now

Quickly select all duplicate/unique values from a column in Excel

General, we can remove duplicates from a list easily with Data > Remove Duplicates in Excel. But how to select duplicate/unique values, or count them from a column? And what if selecting or counting duplicate/unique except the first duplicate one? Try Kutools for Excel’s Select Duplicate & Unique Cells utility!


ad select duplicate unique values 2

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now

Demo: Hide rows if duplicate with Kutools for Excel


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Related articles:

Best Office Productivity Tools

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

kte tab 201905


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 (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is this also possible with VBA in Excel?
I want to automate the filtering when saving and closing document.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations