Remove Duplicates, Text to Columns & Flash Fill
Microsoft Excel provides several powerful tools for cleaning and organizing data. Three commonly used tools are Remove Duplicates, Text to Columns, and Flash Fill. These tools help users manage large datasets quickly and accurately.
Remove Duplicates
Remove Duplicates is used to find and delete repeated records from a dataset while keeping only unique values.
Why Use Remove Duplicates?
| Benefit | Description |
|---|---|
| Clean Data | Removes repeated records. |
| Improve Accuracy | Avoids duplicate entries. |
| Save Time | Automatically removes duplicates. |
Example Data
| Student Name |
|---|
| Rahul |
| Priya |
| Rahul |
| Amit |
| Priya |
After removing duplicates:
| Unique Names |
|---|
| Rahul |
| Priya |
| Amit |
Steps to Remove Duplicates
- Select the data range.
- Go to Data Tab.
- Click Remove Duplicates.
- Select the columns to check.
- Click OK.
- Excel removes duplicate records automatically.
Shortcut Key
Alt + A + M
Text to Columns
Text to Columns is used to split data from one column into multiple columns based on a separator such as space, comma, tab, hyphen, or other characters.
Why Use Text to Columns?
| Use Case | Example |
|---|---|
| Split Full Name | Rahul Sharma → Rahul | Sharma |
| Split Email | name@gmail.com |
| Split Address | City, State, Country |
Example
| Before Split | After Split |
|---|---|
| Rahul Sharma | Rahul | Sharma |
| Amit Kumar | Amit | Kumar |
Steps to Use Text to Columns
- Select the column containing combined data.
- Go to Data Tab.
- Click Text to Columns.
- Select Delimited.
- Click Next.
- Select the delimiter (Space, Comma, Tab, etc.).
- Click Next.
- Choose destination if required.
- Click Finish.
Common Delimiters
| Delimiter | Example |
|---|---|
| Space | Rahul Sharma |
| Comma (,) | Kolar,Karnataka |
| Hyphen (-) | 2026-06-05 |
| Tab | Data separated by tabs |
Flash Fill
Flash Fill automatically recognizes patterns in your data and fills the remaining cells without using formulas.
Example 1: Extract First Name
| Full Name | First Name |
|---|---|
| Rahul Sharma | Rahul |
| Amit Kumar | (Flash Fill) |
| Priya Singh | (Flash Fill) |
Type “Rahul” manually in the first row and use Flash Fill. Excel automatically extracts the remaining first names.
Example 2: Combine Names
| First Name | Last Name | Full Name |
|---|---|---|
| Rahul | Sharma | Rahul Sharma |
After typing one example, Flash Fill completes the remaining records automatically.
Steps to Use Flash Fill
- Type the expected result for the first record.
- Select the next cell.
- Go to Data Tab.
- Click Flash Fill.
- Excel detects the pattern and fills remaining cells.
Shortcut Key
Ctrl + E
Comparison of All Three Tools
| Tool | Purpose | Shortcut |
|---|---|---|
| Remove Duplicates | Delete repeated records | Alt + A + M |
| Text to Columns | Split data into multiple columns | Alt + A + E |
| Flash Fill | Automatically fill based on patterns | Ctrl + E |
