Excel Practise
Excel Practise
x
p Rent $1,200 $1,200 $1,200
e
n
Utilities $150 $140 $160
d Groceries $300 $320 $310
i
t Transportation $100 $120 $110
u Entertainment $200 $180 $220
r
e Miscellaneous $50 $60 $55
Total $2,000 $2,000 $2,000
April Sales
₹ 3,300
₹ 4,600
₹ 3,000
₹ 5,050
₹ 3,450
April Sales
3300
4600
3000
5050
3450
Category Sum of Sum
Entertainment 2430
Groceries 2470
Miscellaneous 420
Rent 14400
Transportation 1335
Utilities 2420
Total Result 23475
Category January February March
Rent 1200 1200 1200
Utilities 150 140 160
Groceries 300 320 310
Transportation 100 120 110
Entertainment 200 180 220
Miscellaneous 50 60 55
Total Monthly Expenses (SUM): Use =SUM(B2:B6) for January’s total and drag across to
calculate for other months.
Average Monthly Expense (AVERAGE): Calculate =AVERAGE(B2:B6) to find the average for
each month.
Highest Expense Category (MAX): =MAX(B2:B6) to find the maximum expense in January and
repeat for other months.
Lowest Expense Category
Salesperson (MIN):
January =MIN(B2:B6)
Sales for minimum
February Sales expense
March Sales
Alex $ 3,000 $ 3,200 $ 3,100
Jamie $ 4,500 $ 4,700 $ 4,800
Taylor $ 2,800 $ 2,900 $ 2,700
Jordan $ 5,000 $ 5,100 $ 5,200
Casey $ 3,400 $ 3,500 $ 3,600
Total Sales per Salesperson (SUM): Use =SUM(B2:E2) to calculate Alex’s total sales across
months, and copy down.Average Sales per Month (AVERAGE): Use =AVERAGE(B2:B6) for
January’s average sales.Highest Sales in a Month (MAX): =MAX(B2:E2) to find the month
with the highest sales for each person.Lowest Sales in a Month (MIN): =MIN(B2:E2) for
each salesperson’s lowest month.
April Aver Total2 Total3
1200 1200 1200 4800
155 151 151.25 605
305 309 308.75 1235
115 111 111.25 445
210 203 202.5 810
45 53 52.5 210
Exercises:
1. Sorting:
Sort the dataset by Total Sales in descending order to see which orders generated the highest re
Sort by Order Date to view the orders chronologically.
2. Filtering:
In the Average Grade column, use the formula =AVERAGE(C2:F2) for each student to calculate the
Highlighting Top Grades: Use conditional formatting to highlight grades above 90 in green.
Highlighting Failing Grades: Apply conditional formatting to highlight grades below 60 in red.
Color Scale for Average Grade: Apply a color scale to the Average Grade column to visually i
History Average Grade
82
85
80
58
89
92
72
78
60
94
s above 90 in green.
grades below 60 in red.
ade column to visually indicate performance (e.g., green for high averages, red for low averages).
or low averages).
Item ID Item Name Category Quantity Unit Price Total Value Supplier
1 Widget A Tools 150 10 Supplier A
2 Widget B Tools 85 15 Supplier B
3 Gadget C Electronics 200 25 Supplier C
4 Gadget D Electronics 50 40 Supplier D
5 Device E Home Goods 120 30 Supplier E
6 Appliance F Home Goods 60 100 Supplier F
7 Tool G Tools 30 20 Supplier A
8 Gadget H Electronics 10 15 Supplier B
9 Widget I Tools 75 12 Supplier C
10 Appliance J Home Goods 40 150 Supplier D
Practice Tasks:
Create a Table:
Highlight the data range (including headers) and create a table using the "Insert Table" feature in E
In the Total Value column, use the formula =D2*E2 to calculate the total value for each item and d
Apply Filters:
Use the filter options in the table to find items in a specific category (e.g., Tools) or those that have
Sort Data:
Sort the table by Total Value in descending order to see which items represent the highest value.
Apply different table styles to see how formatting can enhance readability.
Last Restocked
10/1/2024
10/5/2024
10/10/2024
9/25/2024
8/15/2024
7/20/2024
10/3/2024
9/10/2024
8/1/2024
6/12/2024
Suggested Formulas:
In the Status column, evaluate whether the total sales are above or below a target (e.g., 1000):
Using CONCATENATE:
Combine the First Name and Last Name into a full name in a new column:
Or using the & operator:
Using LEFT:
Using RIGHT:
sing MID:
Extract the middle characters from the Email Address (for example, extracting the domain part, st
Using TRIM:
Clean up any extra spaces in the Address (useful if spaces were accidentally added):
Address
123 Elm St, Townsville
456 Maple St, Citytown
789 Oak St, Villagetown
321 Pine St, Hamletville
654 Birch St, Borough
234 Cedar St, Metropolis
543 Spruce St, Statecity
987 Fir St, Countyplace
432 Willow St, Region
654 Ash St, Townville
g the domain part, starting at the 6th character and taking 7 characters):
VLOOKUP
Product ID Product Name Category Price Stock
101 Widget A Tools 10 150
102 Widget B Tools 15 85
103 Gadget C Electronics 25 200
104 Gadget D Electronics 40 50
105 Device E Home Goods 30 120
106 Appliance F Home Goods 100 60
107 Tool G Tools 20 30
108 Gadget H Electronics 15 10
109 Widget I Tools 12 75
110 Appliance J Home Goods 150 40
Using VLOOKUP:
To find the Price of a product based on Product ID (for example, Product ID 103):
HLOOKUP
YEAR 2021 2022 2023 2024
Widget A 1500 1800 2000 2100
Widget B 1200 1400 1600 1700
Gadget C 2000 2200 2500 2600
Gadget D 1800 1900 2100 2200
Device E 1600 1700 1800 1900
Using HLOOKUP:
Sales Target Check: Use OR to check if any quarter's sales are below 500:
Full Name: Concatenate the first and last names in a new column (Full Name):
Years of Service: Calculate how long each employee has been with the company (in years):
excel
Sales Q2 Sales Q3 Sales Q4 Status Full Name Initials
1500 1300 1600
900 950 1000
1600 1700 1800
700 800 900
2100 2200 2300
600 700 800
400 350 450
1100 1300 1250
"Needs Improvement")
ll Name):
Using VLOOKUP
Using HLOOKUP
Bar Chart: Compare the Total Sales of different products across all regions.
Line Chart: Track quarterly sales for Product A across all regions.
Select the Region column and columns from Q1 Sales to Q4 Sales for Product A.
Use a line chart to show trends over the quarters in each region.
Pie Chart: Show the percentage share of Total Sales for each product in North America.
North America.
he region.
Employee Name Department Sales Target Actual Sales
John Smith Sales 100,000 105,000
Jane Doe Marketing 80,000 75,000
Alice Brown Sales 95,000 85,000
Michael Green Development 60,000 62,000
Emma Wilson Marketing 70,000 60,000
William Black Sales 110,000 120,000
Olivia White Development 65,000 55,000
Sophia Clark Marketing 75,000 72,000
Liam Harris Sales 90,000 92,000
Noah Miller Development 58,000 54,000
Color Scales:
Apply a color scale to the % of Target Achieved column to visually identify high and low perform
High values (close to or above 100%) can be in green, while lower values can range down to red.
Data Bars:
Use data bars on the Actual Sales column to quickly see who has achieved the highest sales.
The bars will indicate relative sales performance, with longer bars for higher sales numbers.
Icon Sets:
Apply an icon set to the Performance Rating column to categorize ratings visually.
For example:
Green checkmark for ratings ≥4.5.
Yellow exclamation for ratings between 4.0 and 4.4.
Red cross for ratings below 4.0.
Highlight employees in the Days Absent column who have more than 3 days absent with a light re
Format cells in the Sales Target column with bold text for any target that is 100,000 or above
% of Target Achieved Days Absent Performance Rating
105% 2 4.5
94% 5 3.8
89% 1 4.2
103% 3 4.6
86% 6 3.5
109% 0 4.8
85% 4 3.9
96% 2 4.3
102% 1 4.7
93% 7 3.4
Set Product Category in the Rows area and Sales Region in the Columns area.
Place Total Revenue in the Values area to see total revenue per category and region.
Use the Date field in the Rows area, and group by month.
Add Total Revenue in the Values area to see monthly sales.
Add slicers for Sales Region and Product Category to interactively filter the PivotTable.
Columns area.
ategory and region.
If dates span multiple years, use the Date field, group by Years, and add Product Category bene
This provides an annual summary with breakdowns by category for each year.
Units Sold Total Revenue
20 4000
10 12000
15 1500
5 5000
30 4500
8 5600
4 3000
12 4800
3 2400
8 9600
6 5400
25 5000
5 5500
18 2700
9 1350
6 7200
2 2600
7 7000
15 6000
Practice Scenarios
Objective: Determine the maximum loan amount you can afford if you can only pay $400 per mon
Steps:
Set up the Monthly Payment calculation in a cell using the PMT function.
Go to Data > What-If Analysis > Goal Seek.
Set the Monthly Payment cell to $400 by changing the Loan Amount cell.
Excel will calculate the loan amount that matches this target monthly payment.
Objective: See how different interest rates affect your monthly payment.
Steps:
Create a column listing interest rates (e.g., 3%, 4%, 5%, 6%, 7%).
In the adjacent column, use a Data Table to calculate the monthly payment for each interest rate
Go to Data > What-If Analysis > Data Table, and set the Column Input Cell to the Interest
3. Using a Two-Variable Data Table to Explore Loan Terms and Interest Rates
Objective: Analyze how both the loan term and interest rate affect monthly payments.
Steps:
Set up a table with interest rates in the first row (e.g., 3%, 4%, 5%) and loan terms in the first colu
Use a Data Table to fill in monthly payments for each combination.
Go to Data > What-If Analysis > Data Table, set the Row Input Cell to Interest Rate, and th
3%
4%
5%
6%
7%
d Interest Rates
thly payments.
ell to Interest Rate, and the Column Input Cell to Loan Term.
₹ 530.33
₹ 482.80
₹ 506.23
₹ 530.33
₹ 555.10
₹ 580.54