Here is a comprehensive and detailed report on Sorting, Filtering, and Working with Reports
in Excel, covering all the topics mentioned:
Sorting, Filtering, and Working with Reports in Microsoft
Excel
Excel provides powerful tools for organizing and analyzing data efficiently. Sorting and filtering
are essential for reviewing large datasets, while features like subtotals and report generation
support in-depth analysis and summaries.
1. Sorting Tables
Sorting arranges data in a specific order to make it easier to analyze.
Basic Sorting
● Ascending Order: A to Z for text, smallest to largest for numbers.
● Descending Order: Z to A for text, largest to smallest for numbers.
Steps:
1. Select the column you want to sort.
2. Go to Data > Sort A to Z or Sort Z to A.
2. Multiple Level Sorting
Allows sorting by more than one column (e.g., first by Department, then by Salary).
Steps:
1. Click Data > Sort.
2. In the Sort dialog box, add multiple levels:
○ First Sort by: Department (A to Z)
○ Then by: Salary (Largest to Smallest)
3. Click OK.
This organizes data hierarchically, with secondary sorting applied within each group.
3. Custom Sorting
Used to sort data based on a user-defined order (e.g., Small, Medium, Large).
Steps:
1. Go to Data > Sort > Order > Custom List.
2. Define a custom list like: Small, Medium, Large.
3. Apply sorting using this list.
This is particularly useful for sorting non-alphabetical categories or statuses.
4. Filtering Data for Selected View (Auto Filter)
Auto Filter displays only the rows that meet specific criteria.
Steps:
1. Select the data range.
2. Go to Data > Filter.
3. Drop-down arrows appear in the headers.
4. Select criteria (e.g., filter a column to show only “Pending” status).
Filters can be applied on:
● Text
● Numbers (e.g., greater than 1000)
● Dates
● Color
5. Advanced Filter Options
Used for complex filtering based on multiple conditions, placed in a separate criteria range.
Steps:
1. Set up a criteria range (same headers as data).
2. Go to Data > Advanced.
3. Choose to filter in-place or copy to another location.
4. Define the list and criteria ranges.
Example:
To filter employees with Salary > 50000 and Department = "Sales":
Criteria range:
Department Salary
Sales >50000
●
6. Creating Subtotals
Subtotals summarize data by group (e.g., total sales by region).
Steps:
1. Sort the data by the grouping column (e.g., Region).
2. Go to Data > Subtotal.
3. In the dialog box:
○ At each change in: Region
○ Use function: SUM
○ Add subtotal to: Sales
4. Click OK.
Excel inserts subtotal rows and outlines to expand/collapse groups.
7. Multiple Level Subtotals
To add multiple layers of subtotals (e.g., Department within Region):
Steps:
1. First, sort by Region, then Department.
2. Apply subtotals on the first group (Region).
3. Remove "Replace current subtotals" and apply subtotals again for Department.
4. Excel displays both levels with collapsible outline view.
Conclusion
Sorting and filtering are key tools for data exploration in Excel. By combining multi-level sorting,
custom sort lists, and advanced filters, users can easily manage large datasets. Subtotal
features enhance reporting capabilities by allowing quick summarization of grouped data, which
is crucial for decision-making and analysis.