How to Remove Duplicates in Excel in 2026 (3 Methods)

Remove duplicates in Excel in 2026: highlight them with conditional formatting, delete them with Remove Duplicates, or list unique rows with UNIQUE.
The template
Copy prompt
Open [file.xlsx], copy the [sheet] tab as a backup, remove duplicate rows based on [columns], and give me a summary of how many rows were removed. Don't touch any other tab.
Advanced computer use agent
Production-grade reliability
Transparent Execution

Why Excel + clean data

Duplicates creep in when you merge exports from a CRM, a form and a shop, or paste last month's list into this month's. They inflate counts, double-send emails and break lookups. Excel has the tools built in; the work is choosing which columns define a duplicate and not losing data you need.

Quick answer: Select your data, then choose Data > Remove Duplicates, tick the columns that define a duplicate, and select OK. Remove Duplicates permanently deletes the duplicate rows, so copy the original data to another sheet first. To review before deleting, highlight duplicates with Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values; to keep the original, use =UNIQUE(range) to return a de-duplicated list elsewhere.

Let Sai handle your repetitive work

Delegate to Sai

How to Remove Duplicates in Excel in 2026 (3 Methods)

Overview

Three methods: highlight (review only), Remove Duplicates (delete), UNIQUE (non-destructive copy), plus an AI computer agent for recurring cleanups across many files. Guardrails: back up first, remove outlines or subtotals before removing duplicates, and decide which columns count.

1. Manual methods

Method 1: Highlight duplicates first

  1. Select the cells you want to check.
  2. Select Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.
  3. Pick the formatting, then select OK.

Pros: nothing is deleted. Cons: only shows duplicates. Excel can't highlight duplicates in the Values area of a PivotTable.

Method 2: Remove Duplicates

  1. Copy the original data to another worksheet as a backup.
  2. Remove any outlines or subtotals from the data.
  3. Select the range, then Data > Remove Duplicates.
  4. Under Columns, check only the columns that define a duplicate (uncheck columns whose values should be kept even if they differ).
  5. Select OK.

Pros: one step. Cons: permanent; Microsoft notes the reported counts may include empty cells and spaces.

Method 3: UNIQUE function

  1. In an empty cell, type =UNIQUE(A2:C500) for your range.
  2. Add TRUE as the third argument (exactly_once) to return only rows that appear exactly once.

Pros: original stays intact; updates as data changes. Cons: the result is a formula, so paste as values before sharing. UNIQUE is available in Excel for Microsoft 365, Excel for the web, Excel 2024 and Excel 2021 (Windows and Mac), and the Excel apps for iPhone, iPad and Android.

2. No-code method

Keep a "clean" tab that always reads =UNIQUE from the raw import tab, so whoever pastes new data never deletes anything by hand.

3. Hand it to an AI computer agent

Sai is an AI computer agent that works in the apps on your computer, like a person, and asks before critical steps.

Ops scenario: weekly list merge. Every Monday Sai opens the CRM export and the form export, combines them, backs up the sheet, removes duplicates on email, and posts a one-line summary of rows removed.

Agency scenario: client reports. Sai repeats the same cleanup across 20 client workbooks in a folder, so the rule is applied the same way every time.

Pros: same rule every time, no manual clicking. Cons: define the duplicate rule clearly; review the first run.

More questions

Why does Remove Duplicates miss some rows?

Extra spaces or different formatting make values look the same but not match; Microsoft notes counts can include empty cells and spaces.

Sources: Microsoft – Find and remove duplicates; UNIQUE function; Microsoft Support: Filter for unique values or remove duplicate values. Steps checked on December 2, 2026.

Scale Excel cleanup with Sai

Set it up
Write the rule (which columns, which tab).
Test on one
Run it on one file and check the backup and summary.
Schedule and scale
Schedule it or run it on the whole folder.

Stop doing repetitive tasks. Let Sai handle them for you.

Sai is your AI computer use agent — it operates your apps, automates your workflows, and gets work done while you focus on what matters.

Try Sai

FAQS