Data Sorting & Filtering
-
Sort and filter Excel data to simplify analysis and reporting.
Sample Data Example:
Sorting Example
Sorting changes only the order of data, not the data itself.
Example 1: Salary High → Low
Steps:
Select the full table.
Go to Data Tab → Sort.
Choose:
Column = Salary
Order = Largest to Smallest
Click OK.
Result:
Only the order changes. No data is deleted.
Example 2: Multiple Column Sorting
Condition:
First sort by City (A → Z)
Then sort by Salary (High → Low)
Steps:
Go to Data → Sort.
Click Add Level.
Set:
Level 1 → City (A to Z)
Level 2 → Salary (Largest to Smallest)
This allows advanced sorting using multiple conditions.
Filtering Example
Filtering shows only selected data and temporarily hides the rest.
Example 1: Department = IT
Steps:
Go to Data → Filter.
Click the dropdown in Department column.
Select only "IT".
Result:
Example 2: Marks > 80
Steps:
Click Filter dropdown in Marks column.
Select Number Filters → Greater Than → 80.
Result:
Advanced Filtering Example
Condition:
City = Delhi
AND Marks > 85
Step 1: Create Criteria Range (In Sheet)
Step 2:
Go to Data → Advanced Filter.
Select:
List Range (Full Data)
Criteria Range (Above Table)
Click OK.
Result:
Advanced Filter allows multiple conditions with AND / OR logic for more powerful filtering.