Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel: How to List All Unique Values (Step-by-Step)

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To list all unique values from a column or range in Excel, the fastest reliable method is to use the Remove Duplicates feature on a copied range, or to use the UNIQUE function if you have a Microsoft 365 subscription. For older versions, an advanced filter or a PivotTable works well. The exact steps depend on your Excel version, but all methods are straightforward and do not require add-ins.

What You'll Need

  • Microsoft Excel (any modern version: 2016, 2019, 2021, or Microsoft 365). The steps below note where the UNIQUE function is available.
  • A dataset with a column (or row) that contains duplicate values you want to condense into a unique list.
  • Basic familiarity with selecting cells and using the ribbon or formula bar.

Step-by-Step

  1. Select your data range. Click the first cell of the column you want to deduplicate, then drag down to the last cell, or press Ctrl+Shift+Down Arrow (Cmd+Shift+Down Arrow on Mac) to select to the bottom. Include the header row if you have one.
  2. Copy the range. Press Ctrl+C (Cmd+C on Mac) to copy the selected cells.
  3. Paste to a new location. Click an empty cell where you want the unique list to appear (for example, a cell in a new sheet or a blank column to the right). Press Ctrl+V (Cmd+V) to paste. This keeps your original data intact.
  4. With the pasted range still selected, open the Data tab. In the ribbon, go to the Data tab. The exact label may differ slightly by version, but the group is usually called Data Tools.
  5. Click Remove Duplicates. A dialog box appears. If your range has headers, make sure My data has headers is checked. Then click OK.
  6. Review the result. Excel will tell you how many duplicate values were removed and how many unique values remain. Click OK to close the message. The pasted range now contains only unique values.
  7. Optional: Use the UNIQUE function (Microsoft 365 only). If you have a Microsoft 365 subscription, you can type =UNIQUE(A2:A100) in an empty cell (replace A2:A100 with your actual range). This spills the unique list automatically and updates if the source data changes. Note: this function is not available in Excel 2019 or earlier.
  8. Optional: Use Advanced Filter (all versions). Select your data range, go to Data > Advanced (in the Sort & Filter group). Choose Copy to another location, set the List range, set the Copy to box to an empty cell, and check Unique records only. Click OK.

Common Mistakes

  • Forgetting to copy first. Using Remove Duplicates directly on your original data will permanently delete rows. Always paste to a new location first.
  • Not checking “My data has headers”. If your range includes a header and you don’t check this box, Excel may treat the header as a duplicate value and remove it.
  • Selecting only part of the column. If you miss the last few rows, duplicates below the selection won’t be removed. Use Ctrl+Shift+Down Arrow to select to the end.
  • Expecting UNIQUE to work in older Excel. The UNIQUE function is exclusive to Microsoft 365 and Excel 2021. In Excel 2019 or earlier, you’ll get a #NAME? error.
  • Ignoring case sensitivity. Remove Duplicates treats “Apple” and “apple” as different values. If you need case-insensitive uniqueness, use a helper formula or Power Query.

Tips

  • To get a unique list from multiple columns at once, stack the columns into one using copy-paste, then apply Remove Duplicates.
  • Use a PivotTable as a quick alternative: insert a PivotTable, drag the field to the Rows area, and you’ll see each unique value once.
  • If you want a dynamic list that updates automatically, use the UNIQUE function (Microsoft 365) or Power Query (Get & Transform) which can refresh on demand.
  • To count how many times each value appears, combine Remove Duplicates with COUNTIF, or use a PivotTable with Count of field.
  • Always work on a copy of your data when experimenting, especially with Remove Duplicates.

Troubleshooting

  • “No duplicates found” message but you see duplicates: Check that you selected the entire range, including any hidden rows. Also verify that values don’t have trailing spaces—use TRIM to clean them.
  • UNIQUE returns #NAME?: Your Excel version doesn’t support it. Use Remove Duplicates or Advanced Filter instead.
  • Remove Duplicates removed the wrong rows: This can happen if you didn’t copy first. Undo with Ctrl+Z immediately, then redo the copy-paste method.
  • Advanced Filter doesn’t copy to another location: Make sure you clicked in the Copy to box and selected a single cell, and that the cell is on the same sheet.
  • List includes blanks: Remove Duplicates keeps one blank if there are blanks. Filter them out before or after, or use a formula like =FILTER(UNIQUE(range),UNIQUE(range)<>"") in Microsoft 365.

Frequently Asked Questions

Can I list unique values without deleting duplicates?

Yes. Copy your data to a new location first, then use Remove Duplicates on the copy. Or use the UNIQUE function or Advanced Filter with “Copy to another location”.

Does Remove Duplicates work on multiple columns?

Yes, but it treats each row as a record. If you select multiple columns, it removes rows where all selected columns match another row. To deduplicate a single column, select only that column.

Is there a formula for unique values in Excel 2016?

Excel 2016 does not have the UNIQUE function. Use Remove Duplicates, Advanced Filter, or a PivotTable instead. A complex array formula (INDEX/MATCH/COUNTIF) is possible but not recommended for beginners.

Why does UNIQUE return a #SPILL! error?

The spill range is blocked by existing data. Clear the cells below and to the right of the formula, or move the formula to an empty area.

Can I get a unique list that updates automatically?

Yes, with the UNIQUE function in Microsoft 365. For older versions, use a PivotTable and refresh it when data changes, or use Power Query with a refresh.

How do I ignore case when finding unique values?

Remove Duplicates is case-sensitive. To ignore case, create a helper column with =LOWER(A2), then deduplicate that column. Or use Power Query with a case-insensitive comparison.