Questiion:
Find all employees whose salary is greater than the average salary of all employees.
Thanks
Learn Microsoft Excel step by step with practical examples. No payment. No registration. 100% free.
Thanks
Duplicate data in Excel can lead to incorrect reports, wrong calculations, and poor decision-making. Whether you're working with small datasets or large reports, knowing how to remove duplicates in Excel is an essential skill.
In this guide, you'll learn 7 easy and powerful methods to remove duplicate data in Excel, from basic tools to advanced techniques.
Let’s explore all 7 methods 👇
Excel's built-in tool is the fastest path from messy to clean. It permanently removes duplicate rows in seconds — perfect for quick data cleanup.
Want to extract unique records without touching the original? Advanced Filter copies unique rows to a new location, leaving your source data untouched.
1. Go to Data → Sort & Filter → Advanced
✨ Combine with =SORT (UNIQUE
(A2:A100)) to get a clean, alphabetically sorted unique list in one formula!
Power Query (Best for Large Data)
Power Query is Excel's ETL powerhouse. Once set up, you can
refresh it with a single click — making it perfect for repeated monthly or
weekly data cleaning tasks.
Use a formula to flag duplicates, giving you granular control over which occurrence to keep — the first, the last, or any based on your own logic.
1. Add a helper column next to your data
How to Create a Search Box in Excel (No VBA Required)
VLOOKUP for Beginners: Find Data from Another Sheet (Step-by-Step Guide)
Excel VBA Data Cleaning Automation – Remove Special Characters Step by Step (Beginner Guide)
When working with large datasets in Excel, finding repeated or matching values can become slow and frustrating. Most users rely on the Ctrl + F shortcut to search for values. While this works, Excel shows only one result at a time, forcing you to click Find Next repeatedly to locate every occurrence.
This approach is time-consuming and inefficient when you need a quick visual overview of all matching entries in your sheet.
What if you could create a simple search box where typing a value instantly highlights all matching cells across your dataset?
In this tutorial, you will learn how to build a dynamic Excel search box using Conditional Formatting — no VBA, no macros, just a smart formula.
In the dataset above, several values repeat multiple times. Using the normal Find option would require many clicks to track each one.
You also don’t get a visual overview of all matches together.
The moment you type any value into it, Excel will automatically highlight every matching cell in your dataset.
You can label the adjacent cell as Search Here for clarity.
Go to the Home tab
Click Conditional Formatting
Choose New Rule
Select:
Use a formula to determine which cells to format
=$H$1=A2
Explanation:
$H$1 → Search box cell (fixed reference)
A2 → First cell of the dataset (relative reference)
If Excel adds
$before A2, remove it.
Click Format → Fill → Choose a color
Pick a bright color and press OK.
Click OK again to apply the rule.
Finding duplicate customer names
Highlighting repeated invoice numbers
Searching product IDs
Identifying repeated attendance entries
Reviewing large reports quickly
Use a bold, bright highlight color
Place the search box at the top of the sheet
Add borders around the search cell
Use Data Validation for controlled inputs
Conditional Formatting continuously checks each cell against the formula condition. The moment the value in H1 changes, the entire dataset updates automatically without any manual refresh.
This makes the search dynamic and instant.
By using Conditional Formatting with a simple formula, you can convert a normal Excel cell into a powerful search tool. This method saves time, improves visibility, and removes the need for repetitive Find operations.
It’s a small trick that makes a big difference in daily Excel work, especially when handling large datasets.
Try it once, and you’ll never rely on Ctrl + F the same way again.
When working with real-world data in Microsoft Excel, you
will often face a common problem — special characters in your data.
These unwanted symbols can break formulas, cause errors in reports, and create
issues while importing or exporting data.
In this detailed tutorial, you will learn multiple ways
to remove special characters in Excel, using both Excel formulas and
VBA automation. This guide is perfect for beginners, office users,
and Excel learners who want clean and professional data.
Special characters are symbols that are not letters (A–Z), numbers (0–9), or spaces.
Common Examples:
@ #
$ % &
* ! ?
/ \ ( )
_ - + = |
Example Dirty Data:
Such characters often appear due to:
Removing special characters helps you to:
Clean data = Better results 📊
Excel formulas are best when:
The SUBSTITUTE function replaces specific characters with
blank values.
Syntax:
=SUBSTITUTE(text, old_text, new_text)
Example:
If cell A2 contains:
Amit@123
Formula:
=SUBSTITUTE(A2,"@","")
This removes only @.
You must write one SUBSTITUTE for each character.
SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"@",""),"#",""),"$","")
❌ Not practical for many
characters
❌
Hard to maintain
This formula removes all non-alphanumeric characters.
|
|
✔ Removes almost all special characters
✔ No VBA required
⚠️ Works best in Excel 365 /
Excel 2021
⚠️
Complex for beginners
If you work with large datasets or want a one-click solution, VBA is the best choice.
Benefits of VBA Method:
Step 2: Open VBA Editor
|
Dim cell As Range Dim cleanText As String Dim i As Long Dim ch As String For Each cell In Selection cleanText = "" ' Step 1: Replace special characters with space For i = 1 To Len(cell.Value) ch = Mid(cell.Value, i, 1) If ch Like "[A-Za-z0-9 ]" Then cleanText = cleanText & ch Else cleanText = cleanText & " " End If Next i ' Step 2: Remove extra spaces cleanText = Application.WorksheetFunction.Trim(cleanText) ' Step 3: Convert to Proper Case cell.Value = Application.WorksheetFunction.Proper(cleanText) Next cell End Sub |
Select the cells containing data
Press ALT + F8
Select RemoveSpecialCharacters
Click Run
✨ Done! All special characters will be removed instantly.
Loops through each selected cell
Reads each character one by one
Keeps only:
A–Z
a–z
Numbers
Spaces
Removes symbols like @#$%^&*
Trims extra spaces
This makes your data 100% clean and usable.
|
Dim cell As Range For Each cell In Selection cell.Value = Replace(cell.Value, "@", "") cell.Value = Replace(cell.Value, "#", "") cell.Value = Replace(cell.Value, "$", "") cell.Value = Replace(cell.Value, "%", "") cell.Value = Replace(cell.Value, "&", "") Next cell End Sub |
Use Formulas for small tasks and VBA for professional or repeated
work.
Common Mistakes to Avoid
Practical Use Cases
Final Thoughts
Removing special characters is one of the most important
Excel data-cleaning tasks. Whether you are a beginner or an advanced Excel
user, knowing both formula-based and VBA-based methods gives you
complete control over your data.
If you regularly work with Excel, learning VBA automation
will save you hours of manual work and make you more productive.
Related Post
VLOOKUP for Beginners: Find Data from Another Sheet (Step-by-Step Guide)
Excel VBA Data Cleaning Automation – Remove Special Characters Step by Step (Beginner Guide)
Q1. How do I remove special characters in Excel without VBA?
You can use Excel formulas like SUBSTITUTE or advanced TEXTJOIN formulas to remove unwanted symbols.
Q2. What is the best way to remove special characters in Excel?
For large datasets, VBA is the best and fastest method as it automates the entire process.
Q3. Does removing special characters affect spaces between words?
If you replace special characters with spaces and apply TRIM, word separation remains intact.
Q4. Can VBA also capitalize the first letter automatically?
Yes, using the PROPER function in VBA converts text to Proper Case.
Microsoft Excel is built on a simple but powerful grid structure. Everything you do in Excel—entering data, applying formulas, creating charts, or cleaning datasets—depends on understanding rows, columns, and cells. If you master these three basics, Excel becomes far easier, faster, and less confusing.
This detailed guide explains rows, columns, and cells in clear language with practical examples, perfect for beginners and refresher learners.An Excel worksheet looks like a large table made up of thousands of small boxes. These boxes are arranged in horizontal and vertical lines:
Horizontal lines → Rows
Vertical lines → Columns
Each box → Cell
Together, rows and columns create the worksheet grid where data is stored and processed.
A row is a horizontal line of cells that runs from left to right across the worksheet.
Rows are identified by numbers
They start from 1 at the top
Example: Row 1, Row 2, Row 3, and so on
Rows are commonly used to:
Store individual records (one student, one product, one transaction)
Insert or delete complete records
Sort data vertically
Apply formatting or formulas to full records
A modern Excel worksheet has over 1 million rows
You can hide or unhide rows
Entire rows can be selected by clicking the row number
A column is a vertical line of cells that runs from top to bottom in the worksheet.
Columns are identified by letters
They start from A, B, C…
After Z, they continue as AA, AB, AC…
“Name” is in Column A
“Marks” is in Column B
Columns are used to:
Store a specific type of data (names, dates, prices)
Apply formulas to a full category
Adjust width to fit data
Filter data by category
A worksheet has 16,384 columns
Entire columns can be selected by clicking the column letter
Column width can be increased or decreased
A cell is the intersection of a row and a column.
It is the smallest unit in Excel where you enter data.
Each cell has a unique address made by combining:
Column letter + Row number
Examples:
A1 → Column A, Row 1
B5 → Column B, Row 5
C10 → Column C, Row 10
A cell can store:
Text (Name, City)
Numbers (Marks, Price)
Dates and time
Formulas (=A1+B1)
Functions (=SUM(A1:A10))
The active cell is the currently selected cell:
Highlighted with a bold border
Its address is shown in the Name Box
A range is a group of selected cells.
A1:A5 → Vertical range
A1:E1 → Horizontal range
A1:C5 → Rectangular range
Ranges are used for:
Applying formulas
Formatting data
Creating charts
Sorting and filtering
Each row = one sale
Each column = type of information
Each cell = one data value
This structure makes data easy to calculate, analyze, and present.
If you plan to learn:
Excel formulas
Conditional formatting
Pivot tables
VBA automation
Power Query
Then understanding rows, columns, and cells is non-negotiable.
Every formula, macro, or automation task works by identifying and manipulating cells through rows and columns.
Pivot Tables are one of the most useful tool in excel, and most excel experts says that this tool is the magic tool for quickly prepar...