A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
To hide duplicate entries in an Excel table and show only one instance of a name, you can use the filtering feature. Here’s how you can do it:
- Select the Table: Click anywhere in your Excel table.
- Apply Filter: Go to the Data tab on the Ribbon and click on Filter. This will add filter dropdowns to each column header.
- Filter Duplicates: Click the dropdown arrow in the column that contains the names. Uncheck the duplicates, leaving only the unique name checked. This will hide the remaining duplicates in the table.
- Clear Filter: If you wish to see all names again, you can clear the filter by clicking the filter dropdown and selecting Clear Filter.
Alternatively, if you want to use a formula to create a new table with unique names, you can use the UNIQUE function (available in Excel 365 and Excel 2021):
=UNIQUE(A1:A10)
This will return a list of unique names from the specified range.
If you are using VBA, you can also hide rows based on your criteria programmatically.
References: