Remove Duplicates and Keep One of Each
Your list has the same names, emails, or codes repeated — from merged exports or double entry — and you need a version where each value appears only once.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
UNIQUE looks through A2:A20 and returns each distinct value once, in the order it first appears. The results spill automatically into the cells below the formula, so you type it in one cell and get the whole deduplicated list. Your original data is untouched — the formula builds a live copy, which updates itself whenever the source changes. UNIQUE requires Excel 365 or Excel 2021; it works in all versions of Google Sheets. In older Excel, use Data > Remove Duplicates instead (copy your data first, since that tool deletes rows permanently).
When to use it
Use this to build a clean master list from messy data: distinct customer names from an order log, departments from an employee export, or products from a sales sheet — especially as the source list for a dropdown or a summary report.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08