Data Analysis and Statistical Functions
(Module 3)
Sorting, Filtering, and Conditional Formatting
Sorting
Sorting organizes data in ascending or descending order.
Steps to sort data in Excel:
1. Select the range of data.
2. Go to the Data tab.
3. Click Sort and choose the column to sort by.
4. Specify order: ascending or descending.
Filtering
Filters allow you to display only the rows that meet specific criteria.
Steps to apply a filter:
1. Select the data range.
2. Go to the Data tab.
3. Click Filter.
4. Use the dropdown arrows in column headers to select criteria.
Conditional Formatting
Highlights cells based on specific conditions.
Steps to apply conditional formatting:
1. Select the range of cells.
2. Go to the Home tab.
3. Click Conditional Formatting.
4. Choose a rule (e.g., highlight cells greater than a value).
5. Customize formatting and apply.
Introduction to Statistical Functions
COUNTIF
Counts the number of cells that meet a specified condition.
Syntax: =COUNTIF(range, criteria)
o range: The range of cells to evaluate.
o criteria: The condition to count (e.g., ">10").
Example: =COUNTIF(A1:A10, ">50") counts cells with values greater than 50.
SUMIF
Adds the values in a range that meet a specified condition.
Syntax: =SUMIF(range, criteria, [sum_range])
o range: The range to evaluate.
o criteria: The condition to match.
o sum_range: (Optional) The range of cells to sum if different from range.
Example: =SUMIF(A1:A10, ">50", B1:B10) sums values in B1:B10 where
corresponding values in A1:A10 are greater than 50.
Performing What-If Analysis
Scenarios
Scenarios allow you to explore different outcomes by changing input values.
Steps to create a scenario:
1. Go to the Data tab.
2. Click What-If Analysis and select Scenario Manager.
3. Add a new scenario, define changing cells, and input values.
4. View results by switching between scenarios.
Goal Seek
Goal Seek finds the input value required to achieve a specific result.
Steps to use Goal Seek:
1. Go to the Data tab.
2. Click What-If Analysis and select Goal Seek.
3. Set the cell to the desired result, specify the changing cell, and run.
Introduction to Data Analysis Tools
Data Analysis Tool Pack
Provides advanced statistical and engineering analysis tools.
How to enable:
1. Go to File > Options > Add-ins.
2. Select Excel Add-ins and click Go.
3. Check Analysis ToolPak and click OK.
Key Features
Descriptive Statistics: Summarizes data with mean, median, mode, standard
deviation, etc.
Regression: Analyzes relationships between variables.
Histogram: Creates a frequency distribution chart.
Steps to Use:
1. Go to the Data tab.
2. Click Data Analysis in the Analysis group.
3. Select a tool (e.g., Descriptive Statistics) and input parameters.
4. Click OK to generate results.