Sheetwise
Google Sheets · Video available

Remove Duplicate Rows with UNIQUE

Create a separate list of unique rows while preserving your source data.

Download practice data · CSVStart the exercise

Watch the tutorial

Watch on YouTube · Short

Try 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

NameEmailPlan
Emma Wilsonemma@example.comStarter
Noah Brownnoah@example.comPro
Mia Davismia@example.comStarter
Liam Jonesliam@example.comPro
Emma Wilsonemma@example.comStarter
Olivia Millerolivia@example.comPro
Noah Brownnoah@example.comPro
Ava Taylorava@example.comStarter
Ethan Andersonethan@example.comPro
Mia Davismia@example.comStarter
Lucas Thomaslucas@example.comStarter
Chloe Moorechloe@example.comPro

Need help importing, choosing separators or setting the locale? How to use the practice files.

Continue with a related problem