Pinterest Pixel

How to Remove Duplicates and Standardize Data with Copilot in Excel

John Michaloudis
Microsoft Copilot in Excel helps you clean messy datasets and standardize text formatting using simple language instructions.
It removes the need to write complex formulas or edit manually.

You can use Copilot to identify duplicate records or clean inconsistent text.

In this article, you will learn how to remove duplicates and standardize data with Copilot in Excel.

Microsoft Copilot in Excel helps you clean messy datasets and standardize text formatting using simple language instructions. It removes the need to write complex formulas or edit manually. You can use Copilot to identify duplicate records or clean inconsistent text. In this article, you will learn how to remove duplicates and standardize data with Copilot in Excel.

Key Takeaways:

  • Copilot can help identify duplicate records in Excel.
  • You can use Copilot to create helper columns for duplicate data.
  • Copilot can help remove extra spaces from text.
  • You can standardize capitalization using simple prompts.
  • You can format dates and phone numbers consistently.

 

Understand Duplicate and Inconsistent Data

Duplicate Records

Duplicate records occur when the same entry appears twice in the dataset.

Remove Duplicates and Standardize Data with Copilot in Excel

This can occur because of:

  • Manual entry errors
  • Data integration from different systems
  • Multiple form entries, etc.

Inconsistent Records

Data is said to be inconsistent when the same type of information appears in different formats. For example, the date mentioned in a column is in different formats, such as:

  • 01/09/2026
  • 1-Sep-2026
  • September 1, 2026

Remove Duplicates and Standardize Data with Copilot in Excel

Inconsistent text can also occur when the same value has different capitalization or extra spaces. For example, “John Smith”, and “JOHN SMITH” refer to the same customer name.

Remove Duplicates and Standardize Data with Copilot in Excel

 

How to Remove Duplicates with Copilot in Excel

Highlight Duplicate

STEP 1: Go to the Home tab.

Remove Duplicates and Standardize Data with Copilot in Excel

STEP 2: Select the Copilot button.

Remove Duplicates and Standardize Data with Copilot in Excel

STEP 3: In the Copilot pane, type the prompt:

“Highlight duplicate rows based on Customer Email and Phone Number.”

Remove Duplicates and Standardize Data with Copilot in Excel

STEP 4: Review the result and press Done.

Remove Duplicates and Standardize Data with Copilot in Excel

Add a Helper Column

You can also use Copilot to add a helper column that will mark TRUE if Customer Email appears more than once. Use this prompt for this:

Remove Duplicates and Standardize Data with Copilot in Excel

 

How to Standardize Data with Copilot in Excel

Fix Spacing

If there are extra spaces in the dataset, it can create issues when performing data analysis. You can use Copilot to generate the TRIM function to remove all the extra spaces from the data. The prompt to be used is:

“Add a column that cleans the Customer Name column by removing extra spaces.”

Remove Duplicates and Standardize Data with Copilot in Excel

Fix Capitalization

If your database has multiple capitalisation formats like this:

Remove Duplicates and Standardize Data with Copilot in Excel

You can use Copilot to fix mismatches and set a standard capitalization by choosing either lowercase, uppercase, or proper case.

“Add a column that cleans Customer Name by converting text to Proper Case.”

Remove Duplicates and Standardize Data with Copilot in Excel

Format Phone Numbers or Dates

You can use this prompt to set a standard phone number or date:

“Add a column that formats Phone Number into standard (XXX) XXX-XXXX format.”

Remove Duplicates and Standardize Data with Copilot in Excel

“Add a column that formats Date into standard mm/dd/yyyy format.”

Remove Duplicates and Standardize Data with Copilot in Excel

 

Best Practices

  • Always back up your original data before making any changes.
  • Select your data and press Ctrl + T so Copilot can read it.

Remove Duplicates and Standardize Data with Copilot in Excel

  • Give each column a simple, descriptive name.
  • Put exact column names in quotes when asking Copilot to clean them.
  • Check Copilot’s preview column to make sure the formula is accurate.

 

FAQs

Can Copilot remove duplicate records in Excel?

Yes. You can ask Copilot to identify duplicate records based on one or more columns and suggest changes to remove them.

Can we standardize data with Copilot in Excel?

Yes. Copilot can help standardize capitalization, spacing, categories, and other text values using natural-language prompts.

Can Copilot remove extra spaces from Excel data?

Yes. You can ask Copilot to create a new column that removes extra spaces from text. Copilot may use functions such as TRIM for this task.

Can Copilot standardize dates?

Yes. You can ask Copilot to format dates consistently, such as using DD-MMM-YYYY or another format required for your dataset.

Should I review Copilot’s changes?

Yes. You should always review the results before accepting changes. This is especially important when removing duplicate records or changing existing data.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  Copilot vs Excel Macros: Which One Should You Use?

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...