Smart Systems for Home

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

Excel Unique Entries: Remove Duplicates Fast

· 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 get a list of unique entries in Excel without duplicates, the quickest reliable method is to select your data and use Data > Remove Duplicates, which deletes repeated rows in place. If you need to keep the original data intact, use the UNIQUE function (Excel 365 and Excel 2021) or Data > Advanced Filter with "Unique records only" to copy the distinct values elsewhere. All three work; the right one depends on your Excel version and whether you can afford to change the source data.

Menu labels can differ slightly by Excel version, device and region, so if you don't see an exact match, look for the closest equivalent.

What You'll Need

  • Excel 2016 or later for Remove Duplicates and Advanced Filter; Excel 365 or Excel 2021 for the UNIQUE function.
  • A worksheet with your data in a single contiguous range, ideally with a header row.
  • A backup copy of the sheet if you plan to use Remove Duplicates, because it permanently deletes rows.

Step-by-Step

Method 1: Remove Duplicates in place (all modern Excel versions)

  1. Save a copy of your workbook first (File > Save As) so you can recover the original if needed.
  2. Click any cell inside your data range. Excel will detect the surrounding block automatically.
  3. Go to the Data tab and click Remove Duplicates in the Data Tools group.
  4. In the dialog, tick "My data has headers" if your first row contains column names.
  5. Under Columns, tick only the columns that define a duplicate. For a customer list, ticking just "Email" removes rows with the same email even if names differ.
  6. Click OK. Excel reports how many duplicate values were removed and how many unique values remain.
  7. Check the result before saving. If something looks wrong, close without saving and reopen your backup.

Method 2: The UNIQUE function (Excel 365 and Excel 2021)

  1. Click an empty cell where you want the unique list to start, leaving enough empty space below and to the right.
  2. Type =UNIQUE(A2:A100), replacing A2:A100 with your actual range.
  3. Press Enter. Excel spills the unique values into the cells below automatically.
  4. To return whole rows instead of one column, select the full range, for example =UNIQUE(A2:C100).
  5. To count how many unique entries exist, wrap it: =COUNTA(UNIQUE(A2:A100)).

Method 3: Advanced Filter to copy unique records elsewhere

  1. Select your data range including headers.
  2. Go to Data > Advanced (in the Sort & Filter group).
  3. Choose "Copy to another location".
  4. Set the List range to your data and the Copy to box to an empty cell on the same sheet.
  5. Tick "Unique records only" and click OK. Excel pastes a de-duplicated copy, leaving the original untouched.

Common Mistakes

  • Running Remove Duplicates without a backup. The deleted rows are gone once you save, and Undo does not always recover them after other actions.
  • Ticking every column in the Remove Duplicates dialog. That only removes rows where every field matches exactly, so near-duplicates survive.
  • Forgetting "My data has headers". Excel then treats the header row as data and may delete it.
  • Typing UNIQUE into an older Excel version. It returns #NAME? because the function does not exist there; use Advanced Filter instead.
  • Leaving blank rows inside the range. These break the block Excel detects and can leave duplicates behind.

Tips

  • Trim spaces before de-duplicating: =TRIM(A2) in a helper column, then de-duplicate that column, because "John " and "John" count as different entries.
  • Use Remove Duplicates on a copy of the sheet, then compare counts with the original to confirm how many rows were removed.
  • For a live unique list that updates when you add data, use UNIQUE with a whole-column reference such as =UNIQUE(A:A), though this can slow very large workbooks.
  • Combine UNIQUE with SORT for an alphabetical list: =SORT(UNIQUE(A2:A100)).
  • Advanced Filter is the safest option when you must preserve the source data and are not on Excel 365.

Troubleshooting

  • Remove Duplicates removes nothing: your range likely contains blank rows or the ticked columns genuinely have no exact repeats. Select the full block manually and try again.
  • UNIQUE returns #SPILL!: the cells below or beside the formula are not empty. Clear them or move the formula.
  • UNIQUE returns #NAME?: your Excel version does not support it. Use Advanced Filter with "Unique records only".
  • Header row disappeared: restore from your backup, then re-run with "My data has headers" ticked.
  • Duplicates remain that look identical: check for trailing spaces, different capitalisation or numbers stored as text. Clean the data with TRIM and standardise the format first.
  • Formula results look wrong after edits: press F9 to recalculate, or check that the source range still covers all your rows.

Frequently Asked Questions

Does Remove Duplicates delete my original data?

Yes. It permanently removes duplicate rows from the sheet, so always work on a copy or save a backup first.

Can I get unique values without deleting anything?

Yes. Use the UNIQUE function in Excel 365 or Excel 2021, or Data > Advanced Filter with "Unique records only" and "Copy to another location".

Why does UNIQUE show #NAME? in my workbook?

That error means your Excel version does not include the function. It is available in Excel 365 and Excel 2021; older versions need Advanced Filter.

How do I remove duplicates based on one column only?

In the Remove Duplicates dialog, untick all columns except the one that defines a duplicate, then click OK.

Can I count unique entries instead of listing them?

Yes. In Excel 365 or 2021, use =COUNTA(UNIQUE(range)). In older versions, Advanced Filter plus a COUNTA on the copied list works.

Do capitalisation differences count as duplicates?

No. Excel treats "apple" and "Apple" as different values, so standardise case with a helper column such as =LOWER(A2) before de-duplicating.