Remove Duplicate Rows with UNIQUE
Create a separate list of unique rows while preserving your source data.
Download practice data · CSVStart the exerciseWatch the tutorial
Watch on YouTube · ShortTry it yourself
Import at A1. Put the result in E2; leave its spill area empty. UNIQUE compares whole rows in A:C. For email-only results use UNIQUE(B2:B13). Expect 9 unique rows; the 12 source rows stay unchanged.
=UNIQUE(A2:C13)Choose the identity before removing duplicates
UNIQUE compares every selected column together. Two contacts with the same email but different plans are different rows. Use the whole contact range when you want a distinct list of records; use the email column alone when you only need addresses. Neither output decides which plan is current. Keep the source and resolve conflicting records before using the list for billing.
When the result looks wrong
If #REF! appears, clear the output area rather than deleting source contacts. A formula needs room to expand. If two apparently identical records remain, compare spaces and all selected columns.
A check you can repeat
For the unchanged 12-row file, expect 9 complete records. Change the second Emma plan in C6 to Pro: expect 10 records, while the email-only list still has 9 addresses.
Preview the input data
| Name | Plan | |
|---|---|---|
| Emma Wilson | emma@example.com | Starter |
| Noah Brown | noah@example.com | Pro |
| Mia Davis | mia@example.com | Starter |
| Liam Jones | liam@example.com | Pro |
| Emma Wilson | emma@example.com | Starter |
| Olivia Miller | olivia@example.com | Pro |
| Noah Brown | noah@example.com | Pro |
| Ava Taylor | ava@example.com | Starter |
| Ethan Anderson | ethan@example.com | Pro |
| Mia Davis | mia@example.com | Starter |
| Lucas Thomas | lucas@example.com | Starter |
| Chloe Moore | chloe@example.com | Pro |
Need help importing, choosing separators or setting the locale? How to use the practice files.