The quickest answer to how to delete duplicate rows in excel is to select your entire dataset, open the Data tab, choose Remove Duplicates, and select the columns that define a match. Excel keeps the first matching row and removes the others. Save a copy first: the right columns, row order, and selection matter more than the button.
For example, if two rows have the same customer ID but different addresses, checking only Customer ID treats them as duplicates. Checking every column removes them only if all the selected values match. Those are two different cleanup jobs.
Set up the sheet before removing anything
Start by saving a separate copy of the workbook. Name it something clear, such as customer-list-before-cleanup. Undo can help immediately after a mistake, but a backup is safer if you save, close, or make other changes before noticing a problem.
Make sure each column has a header and each record occupies one row. Select the full block of related data, including columns you want to keep alongside the matching fields. If you select only the email column while names and order details sit beside it, you risk breaking the relationship between those values and their rows.
Decide what makes a record a duplicate. For a mailing list, it might be an email address. For an order report, it could be an order ID plus a product ID: the same order can legitimately contain several products. If you need to remove only completely repeated records, compare all the relevant columns.
Finally, decide which matching row should survive. Remove Duplicates retains the first occurrence in the selected range. If the most recent record is the one you need, sort the entire dataset by its date column from newest to oldest first. Check that dates are recognized as dates and that the full rows move together when you sort.

How to delete duplicate rows in excel with Remove Duplicates
In Excel for Windows or Mac, follow this sequence on your working copy:
- Select a cell in the data, or select the complete range you want to clean. Confirm that all related columns are included.
- Open the Data tab and choose Remove Duplicates.
- In the dialog, confirm the selected range and indicate whether your data has headers. The header setting prevents Excel from treating column labels as ordinary records.
- Check the columns Excel should use for comparison. Choose all columns for full-row matches, or only the fields that define a duplicate for your task.
- Select OK. Excel reports how many duplicate values were removed and how many unique values remain.
Suppose your table has Customer ID, Email, and Updated Date. Two rows share an ID but have different emails. Selecting only Customer ID removes one of those rows; selecting both Customer ID and Email keeps both. If the goal is one row per customer, sorting by Updated Date first helps ensure the newer entry is the one retained.
The count in Excel's message is a useful first check, not proof that the cleanup was correct. Compare the before-and-after row counts, then inspect a few IDs you expected to collapse and a few you expected to remain separate. If the result is wrong, undo immediately and revisit the selection, sort order, and matching columns.
Preview matches without deleting them
When you are unsure what qualifies as a duplicate, flag likely matches before removing anything. For a single column, select the cells beneath its header, then choose Home, Conditional Formatting, Highlight Cells Rules, and Duplicate Values. Pick a format and select OK. Excel highlights repeated values, but it does not decide which row is correct or delete anything.
This is especially useful for spotting repeated email addresses with different names or repeated invoice numbers attached to different amounts. A highlighted value is a reason to investigate, not automatic permission to discard a row. Filtering or sorting the column can bring matching records together for review; select the entire dataset when sorting.

For a review list rather than a formatted sheet, Excel versions that support the UNIQUE function offer another option. If the records occupy A2:C100, enter =UNIQUE(A2:C100) in an empty area with enough room for the results. It returns distinct combinations across those columns and leaves the original range intact. It does not automatically choose the newest row for each customer ID. If the source changes, the formula result can change too.
Fix mismatches and protect the handoff
Two entries that look identical may not match because of extra spaces, inconsistent formatting, or values stored differently. For example, an ID stored as text may need attention before it can be compared consistently with a numeric ID. Likewise, a blank email address is not a reliable customer identifier: several unrelated customers may have no email on file.
Clean a copy of the identifying column before relying on it. The TRIM function can remove ordinary extra spaces from text; for a value in A2, use =TRIM(A2) in a helper column and fill it down. It does not remove every kind of invisible character, so inspect stubborn cases rather than assuming the formula fixed them. Preserve leading zeros in IDs where they are meaningful, and do not convert identifiers to numbers blindly.
Before handing off the cleaned file, record the original row count, the final row count, the columns used to identify matches, and the sort rule that determined which row survived. If another person needs to audit the change, those four details explain what happened without requiring them to reconstruct your clicks.
GPT can help draft a checklist or explain a formula, but avoid pasting customer data into an AI tool unless your organization's policies permit it. Use invented sample rows to ask for help, then verify the proposed steps against your actual workbook. Don't guess whether it works. Run the result.
No letters yet — be the first to write.