Chapter 02
Chapter 02
❖ Shorting
Example:
You have a dataset of students with their scores:
A B
1 Name Score
2 Saddam 85
3 Nick 90
4 Shanto 40
5 Kamal 45
Sorting Formula:
Sorting doesn’t use a direct formula but helps prepare data
for analysis. After sorting by Score (descending):
Dataset
A B
1 Description Value
2 Selling Price per unit $50
3 Fixed Cost $2,000
4 Profit (Target) $10,000
5 Sales Volume (to determine) (to be found)
Result:
Cell Updated Value
Objective:
Step-by-Step Process:
▪ Click OK.
❖ Pivot Chart
A Pivot Chart is a graphical representation of data from a Pivot Table.
It allows for dynamic interaction and visualization of summarized data,
making it easier to identify trends and insights.
Objective:
1. Create a Pivot Chart to show total sales by Region.
2. Use a Pie Chart to visualize sales distribution by Product.
Step-by-Step Process
1. Create a Pivot Table:
1. Select the dataset.
2. Go to Insert > Pivot Table.
3. Place it in a new worksheet.
4. Add fields to the Pivot Table:
o Rows: Drag Region.
4. Click OK.
Result:
Total
8000
7000
6000
5000
4000 Total
3000
2000
1000
0
West South North East
3. Data Validation
Scenario:
You want to restrict the entry to dates between January 1, 2023 and
December 31, 2023 for cell C1.
Steps:
1. Select the cell (e.g., C1).
2. Go to Data > Data Validation.
3. In the Settings tab, select Date from the Allow drop-down.
4. In the Data drop-down, select between.
5. Set the Start Date to 01/01/2023 and the End Date to
12/31/2023.
6. Click OK.
Result:
Now, only dates between January 1, 2023, and December 31, 2023,
can be entered into cell C1. Excel will display an error message if a date
outside of this range is entered.
Example:
Extract first and last names using Flash Fill or manual formulas
Enter full name in “A1” cell (Saddam Hossen)
For first name type the formula in “B1” cell:
=LEFT(A1,FIND(“ ”,A1)-1)
5. Data Consolidation
Example: Combining Monthly Sales
A B C
1 Name Region Sales
2 January East 1500
3 January West 2000
4 February East 1800
5 February West 2200
Steps:
1. Go to Data > Consolidate.
2. Use SUM to combine sales by region.
A B
1 Region Total
2 East 3300
3 West 4200
6. Remove Duplicates
This function used for removing duplicate data from the dataset.
Example: A B
1 Name Sales
2 Saddam 200
3 Shanto 300
4 Saddam 200
Steps: