MS Excel Sorting, Filtering and Data Validation Explained
Updated: 5 May 2026, 09:22:09

In today’s digital workplace, Microsoft Excel is one of the most essential tools for organizing, analyzing, and managing data. Whether you are a student, office worker, accountant, analyst, teacher, or business owner, understanding how to efficiently manage data in Excel is a must-have skill.
आज के डिजिटल युग में Microsoft Excel डेटा को व्यवस्थित (organize), विश्लेषित (analyze), और प्रबंधित (manage) करने के लिए सबसे महत्वपूर्ण सॉफ्टवेयर में से एक है। यदि आप छात्र, कर्मचारी, शिक्षक, अकाउंटेंट, या बिजनेस प्रोफेशनल हैं, तो Excel का ज्ञान आपके लिए अत्यंत आवश्यक है।
Among Excel’s most powerful features for data management are:
- Sorting – Organizing data in ascending/descending or custom order
- Filtering – Displaying only the data that meets specific criteria
- Data Validation – Restricting data entry to maintain accuracy
Excel की सबसे महत्वपूर्ण Data Management Features में शामिल हैं:
- Sorting (क्रमबद्ध करना) – डेटा को व्यवस्थित क्रम में लगाना
- Filtering (छंटाई करना) – केवल आवश्यक डेटा दिखाना
- Data Validation (डेटा सत्यापन) – गलत डेटा एंट्री को रोकना
This guide explains these three concepts in detail with bilingual explanations and practical examples.
1. What is Sorting in MS Excel? / MS Excel में Sorting क्या है?
Sorting means arranging data in a specific order based on one or more columns.
Sorting का अर्थ है डेटा को किसी निर्धारित क्रम में व्यवस्थित करना।
Common Sorting Orders / सामान्य Sorting क्रम
- Ascending Order
- A to Z
- Smallest to Largest
- Oldest to Newest
- Descending Order
- Z to A
- Largest to Smallest
- Newest to Oldest
Example of Sorting / Sorting का उदाहरण
Suppose you have student marks data:
| Name | Marks |
|---|---|
| Ravi | 85 |
| Amit | 65 |
| Neha | 92 |
| Pooja | 74 |
After sorting by Marks (Largest to Smallest):
| Name | Marks |
|---|---|
| Neha | 92 |
| Ravi | 85 |
| Pooja | 74 |
| Amit | 65 |
Steps to Apply Sorting / Sorting करने की प्रक्रिया
Method 1: Quick Sort
- Select the data range
- Go to Data Tab
- Click Sort A to Z or Sort Z to A
Method 2: Custom Sort
- Select data
- Click Data → Sort
- Choose column
- Select sorting order
- Add multiple levels if needed
Types of Sorting / Sorting के प्रकार
1. Single Column Sorting
Sort based on one column only.
केवल एक कॉलम के आधार पर sorting।
2. Multi-Level Sorting
Sort based on multiple columns.
एक से अधिक कॉलम के आधार पर sorting।
Example:
Sort employees by:
- Department
- Salary
- Name
Benefits of Sorting / Sorting के लाभ
- Easy data analysis
- Quick identification of top/bottom values
- Better reporting
- Organized records
Limitations of Sorting / Sorting की सीमाएँ
- Can disturb row relationships if data not selected properly
- Wrong sorting may create confusion
2. What is Filtering in MS Excel? / MS Excel में Filtering क्या है?
Filtering allows users to display only rows that meet certain conditions while hiding others.
Filtering केवल वही डेटा दिखाता है जो निर्धारित शर्तों को पूरा करता है।
Example of Filtering / Filtering का उदाहरण
Suppose you have sales data:
| Product | Region | Sales |
|---|---|---|
| Laptop | North | 50000 |
| Mobile | South | 30000 |
| Laptop | East | 45000 |
| Tablet | North | 20000 |
If filter Product = Laptop:
| Product | Region | Sales |
|---|---|---|
| Laptop | North | 50000 |
| Laptop | East | 45000 |
Steps to Apply Filter / Filter लगाने की प्रक्रिया
- Select Data Range
- Go to Data Tab
- Click Filter
- Dropdown arrows appear in headers
- Select desired filter criteria
Types of Filters / Filter के प्रकार
1. Text Filter
Used for text-based data.
Examples:
- Contains
- Begins With
- Ends With
2. Number Filter
Used for numeric values.
Examples:
- Greater Than
- Less Than
- Between
- Top 10
3. Date Filter
Used for date fields.
Examples:
- This Month
- Last Year
- Before / After
4. Color Filter
Filter by cell/font color.
Advanced Filter / उन्नत Filter
Advanced Filter allows:
- Complex Criteria
- Unique Records Only
- Copy Filtered Data Elsewhere
Benefits of Filtering / Filtering के लाभ
- Focus on required data
- Speeds analysis
- Removes clutter
- Helps in report generation
3. What is Data Validation in MS Excel? / MS Excel में Data Validation क्या है?
Data Validation is a feature used to control what type of data can be entered into a cell.
Data Validation किसी सेल में केवल वैध (valid) डेटा दर्ज करने की अनुमति देता है।
Why Data Validation is Important / Data Validation क्यों महत्वपूर्ण है?
Without validation:
- Users may enter wrong values
- Data inconsistency occurs
- Reports become inaccurate
Example of Data Validation / उदाहरण
Restrict marks entry between 0 and 100.
If user enters 150 → Excel shows error.
Steps to Apply Data Validation / Data Validation लगाने की प्रक्रिया
- Select cells
- Go to Data Tab
- Click Data Validation
- Choose validation criteria
- Set rules
- Add input/error message
Types of Data Validation / Data Validation के प्रकार
1. Whole Number Validation
Allow only integers.
Example:
Age must be between 18 and 60.
2. Decimal Validation
Allow decimal values.
Example:
Percentage between 0.00 and 100.00
3. List Validation
Create dropdown list.
Example:
Department List:
- HR
- Sales
- IT
- Accounts
4. Date Validation
Restrict date range.
Example:
Only dates in current year.
5. Time Validation
Restrict time entry.
6. Text Length Validation
Limit characters.
Example:
Mobile Number = 10 digits
7. Custom Formula Validation
Use formulas for advanced rules.
Example:
Prevent duplicate entries.
Input Message / Input Message क्या है?
Message shown when user selects validated cell.
Example:
“Please enter marks between 0 and 100.”
Error Alert / Error Alert क्या है?
Shown when invalid data entered.
Types:
- Stop
- Warning
- Information
4. Practical Real-World Examples / वास्तविक जीवन के उदाहरण
Student Database Management
Use Sorting to:
- Arrange by marks
- Arrange alphabetically
Use Filtering to:
- Show only passed students
- Show class-wise students
Use Validation to:
- Restrict marks 0–100
- Restrict class dropdown
Employee Management
Use Sorting:
- Salary highest to lowest
Use Filtering:
- Department wise staff
Use Validation:
- Designation dropdown
- Joining date restrictions
Sales Report Management
Use Sorting:
- Highest sales first
Use Filtering:
- Monthly sales only
Use Validation:
- Product list dropdown
- Valid date range
5. Difference Between Sorting, Filtering and Data Validation
| Feature | Purpose | Affects Data | Main Use |
|---|---|---|---|
| Sorting | Arrange Data | No | Organization |
| Filtering | Show Specific Data | No | Analysis |
| Data Validation | Restrict Entry | Yes | Accuracy |
6. Best Practices / सर्वोत्तम अभ्यास
For Sorting
- Always select full table
- Keep header row enabled
For Filtering
- Use proper column names
- Avoid blank rows
For Data Validation
- Add clear input messages
- Use dropdowns where possible
7. Common Mistakes to Avoid / सामान्य गलतियाँ
- Sorting only one column
- Forgetting headers
- Applying filter on incomplete data
- Wrong validation ranges
- Not using error alerts
8. Advanced Tips / उन्नत सुझाव
Use Excel Tables
Tables auto-apply filters.
Combine with Conditional Formatting
Highlight filtered/sorted results.
Use Named Ranges for Dropdowns
Dynamic validation lists.
9. Frequently Asked Questions (FAQ)
Q1. What is the shortcut for Filter in Excel?
Ctrl + Shift + L
Q2. Can I sort by color in Excel?
Yes, Excel supports color sorting.
Q3. Can Data Validation prevent duplicates?
Yes, using custom formulas.
Q4. What is the difference between Filter and Sort?
Sort arranges data; Filter hides unwanted data.
10. Conclusion / निष्कर्ष
Sorting, Filtering, and Data Validation are foundational Excel skills that dramatically improve your ability to manage spreadsheets professionally.
Sorting helps organize data logically.
Filtering helps focus on relevant information.
Data Validation ensures clean and accurate data entry.
यदि आप Excel में दक्ष बनना चाहते हैं, तो इन तीनों concepts की अच्छी समझ अत्यंत आवश्यक है। ये features आपके spreadsheet management को professional, efficient, और error-free बनाते हैं।
Final Key Takeaways / मुख्य बिंदु
- Sorting = Arrange Data
- Filtering = Display Specific Data
- Data Validation = Restrict Wrong Entries
Mastering these features will improve your Excel productivity significantly.
About Author
Swarnim Raj
Author & Career Content Writer
Experienced education and career writer at Infokept Career Hub, creating simple, research-based guides for students and government job aspirants.