How to hide duplicates in excel
Tutor 5 (22 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Hiding duplicates in Excel means filtering the dataset so only unique values remain visible while the duplicated values stay hidden without being deleted. To hide duplicates in Excel, use the built-in filtering tools in the worksheet. The process is slightly different on Windows and Mac.
Windows and Mac Steps
-
Select the entire range that contains the repeated values.
-
Open the Data tab on the Ribbon.
-
Select Advanced in the Sort & Filter group.
-
Choose Filter the list, in-place to hide duplicates in the same location.
-
Check Unique records only.
-
Confirm with OK.
The visible list contains only one instance of each value. The duplicates remain hidden under the applied filter.
Differences between Windows and Mac
-
Windows places the Advanced button directly in the Sort & Filter group.
-
Mac groups the Advanced Filter option inside a dropdown under Sort & Filter, but the steps and results remain identical.
How to unhide duplicates
To unhide duplicates and restore the full dataset:
-
Go to Data.
-
Select Clear in the Sort & Filter group.
-
The worksheet returns to the complete view.
How to hide duplicates using Conditional Formatting
Conditional formatting does not hide data, but it helps identify which values will be hidden once filtered.
-
Select the range.
-
Go to Home.
-
Choose Conditional Formatting.
-
Pick Highlight Cell Rules.
-
Select Duplicate Values.
-
Apply the formatting.
The highlighted values can then be hidden by applying a regular filter:
-
Add a filter from the Data tab.
-
Filter by the formatting color and hide those rows manually.
How to hide duplicate rows with formulas
Excel formulas do not hide data by themselves. They mark duplicates so you can filter them.
Steps
-
Insert a helper column next to your data.
-
Use the following formula to flag duplicates:
-
Filter the helper column to display only values equal to 1.
-
All values greater than 1 represent duplicates and remain hidden by the filter.
Both Windows and Mac run the formula the same way.
When should you hide duplicates?
Hiding duplicates is effective when:
-
A clean display of unique values is required.
-
A report needs a summary without altering the original dataset.
-
A dataset contains repeated entries that disrupt readability.
These conditions support non-destructive editing because filtering hides duplicates without deleting data.
. Was this Helpful?Related Questions
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to sort by highlighted cells in excel
Answers · 1
How to sort excel by column and keep rows together
Answers · 1
How to sort by time in excel
Answers · 1
How to sort alphabetically in excel by last name
Answers · 1