Docsity

Excel Practical Exercises Solutions Booklet, Study notes of Computer science

Toggle sidebar
bg1
MICROSOFT EXCEL
PRACTICAL EXERCISES & SOLUTIONS
A Beginner-to-Intermediate Skills Workbook
Learn by doing. Follow worked examples, practise useful formulas, complete real-world
tasks, then check your answers in the solutions section.
INSIDE THIS BOOKLET WHAT YOU WILL PRACTISE
12 guided practical activities Entering, formatting and organising data
Worked examples Step-by-step formulas with sample results
Formula reference SUM, AVERAGE, IF, COUNTIF, SUMIF, text and lookup functions
Challenge tasks and solutions Sales, marks, budgets, stock and attendance
Printable PDF workbook • Suitable for self-study, classroom practice and computer training
Independent learning resource. Microsoft Excel is a trademark of Microsoft Corporation.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Excel Practical Exercises Solutions Booklet and more Study notes Computer science in PDF only on Docsity!

MICROSOFT EXCEL

PRACTICAL EXERCISES & SOLUTIONS

A Beginner-to-Intermediate Skills Workbook

Learn by doing. Follow worked examples, practise useful formulas, complete real-world

tasks, then check your answers in the solutions section.

INSIDE THIS BOOKLET WHAT YOU WILL PRACTISE

12 guided practical activities Entering, formatting and organising data

Worked examples Step-by-step formulas with sample results

Formula reference SUM, AVERAGE, IF, COUNTIF, SUMIF, text and lookup functions

Challenge tasks and solutions Sales, marks, budgets, stock and attendance

Printable PDF workbook • Suitable for self-study, classroom practice and computer training

Independent learning resource. Microsoft Excel is a trademark of Microsoft Corporation.

Contents and Getting Started

Section Contents

1 How to use this workbook and formula rules

2 Formula quick reference

3 Worked examples

4 Practical exercises 1–

5 Challenge tasks

6 Solutions and answer key

7 Final skills checklist

How to use this workbook

1. Open Excel and create a blank workbook. 2. Type the sample data exactly as shown. 3. Enter the formula in the stated

cell. 4. Press Enter and compare the result. 5. Attempt each task before reading the solutions. Examples use commas

between formula arguments; some regional settings use semicolons.

Formula rules to remember

  • Every formula begins with an equals sign (=).
  • A colon selects a range, e.g. A2:A10.
  • Put text conditions in quotation marks, e.g. "Pass".
  • Dollar signs lock a reference when copying, e.g. $B$2.
  • If #### appears, widen the column. If a formula is not calculating, check its spelling, cell references and number format.

Formula Quick Reference

Function Example Purpose

SUM =SUM(B2:B8) Adds values in a range.

AVERAGE =AVERAGE(B2:B8) Calculates the mean.

MAX / MIN =MAX(B2:B8) Finds the highest / lowest value.

COUNT / COUNTA =COUNT(B2:B8) Counts numeric / non-empty cells.

IF =IF(C2>=50,"Pass","Fail") Returns one result if true and another if false.

COUNTIF =COUNTIF(C2:C10,"Pass") Counts cells matching a condition.

SUMIF =SUMIF(A2:A8,"Pen",C2:C8) Adds values matching a condition.

ROUND =ROUND(B2,2) Rounds to a chosen number of decimal places.

CONCAT =CONCAT(A2," ",B2) Joins text values.

LEFT / RIGHT =LEFT(A2,3) Extracts characters from text.

XLOOKUP =XLOOKUP(E2,A2:A10,B2:B10,"Not found") Looks up a value in newer Excel versions.

VLOOKUP =VLOOKUP(E2,A2:B10,2,FALSE) Classic exact-match lookup.

Absolute reference =$B$2*C2 Keeps B2 fixed when copying.

Practical 1: Student Marks Sheet

Objective: Practise totals, averages, highest marks and pass/fail.

Enter this data in Excel:

Student Maths English Science

Amina 78 65 81

Brian 45 52 49

Chao 88 91 84

Diana 56 60 58

Eliud 39 44 48

Tasks

1. Add a Total column for each student.

2. Add an Average column.

3. Add a Result column: Pass if average is at least 50; otherwise Fail.

4. Find the highest total and class average.

5. Format marks as whole numbers and add borders.

Hint: Use SUM, AVERAGE, IF and MAX.

Practical 2: Shop Sales Register

Objective: Calculate line totals and sales performance.

Enter this data in Excel:

Product Quantity Unit price (KES)

Exercise book 25 55

Pen 40 20

Ruler 15 35

Marker 12 80

File 10 65

Tasks

1. Add Sales Amount = Quantity Ɨ Unit price.

2. Calculate grand total sales.

3. Find highest and lowest line sales.

4. Format prices as KES currency.

5. Sort by Sales Amount, highest to lowest.

Hint: Use multiplication, SUM, MAX and MIN.

Practical 4: Stock Control

Objective: Track stock and identify items to reorder.

Enter this data in Excel:

Item Opening Received Sold Reorder level

Sugar 30 20 35 20

Rice 45 10 28 25

Soap 18 15 22 15

Cooking oil 24 12 20 18

Flour 35 5 26 20

Tasks

1. Calculate Closing Stock = Opening + Received āˆ’ Sold.

2. Add a status: Reorder if closing stock is at or below reorder level; otherwise OK.

3. Count items needing reorder.

4. Filter the table to show only Reorder items.

Hint: Use arithmetic, IF and COUNTIF.

Practical 5: Staff Payroll

Objective: Calculate gross pay and simple deductions.

Enter this data in Excel:

Employee Basic pay Allowance Deduction

Grace 28000 4500 2500

Hassan 32000 3000 3200

Irene 25000 5000 1800

John 36000 2500 4000

Tasks

1. Calculate Gross Pay = Basic Pay + Allowance.

2. Calculate Net Pay = Gross Pay āˆ’ Deduction.

3. Find total net payroll and average net pay.

4. Format all money values as KES currency.

Hint: Use addition, subtraction, SUM and AVERAGE.

Practical 7: COUNTIF and SUMIF

Objective: Answer questions from a small sales data set.

Enter this data in Excel:

Salesperson Region Sales (KES)

Ali Coast 12500

Bea Nairobi 18000

Caleb Coast 9500

Dora Western 14500

Eunice Coast 16000

Farah Nairobi 11000

Tasks

1. Count records for Coast.

2. Calculate Coast sales total.

3. Calculate Nairobi sales total.

4. Find total sales across all regions.

Hint: Use COUNTIF and SUMIF with the Region column as the condition range.

Practical 8: Text Functions

Objective: Combine names and extract code characters.

Enter this data in Excel:

First name Surname Code

Mary Otieno MOM-

Peter Mwangi PEM-

Sarah Ali SAA-

David Kiptoo DAK-

Tasks

1. Create a Full Name column.

2. Extract the first three characters of each Code.

3. Extract the final three digits from each Code.

4. Add clear headings and adjust column widths.

Hint: Use =CONCAT(A2," ",B2), =LEFT(C2,3), and =RIGHT(C2,3).

Practical 10: Create a Chart

Objective: Turn a data table into a clear chart.

Enter this data in Excel:

Month Sales (KES)

January 18000

February 22000

March 19500

April 26000

May 24000

Tasks

1. Calculate total and average monthly sales.

2. Insert a column chart using Month and Sales.

3. Add chart title Monthly Sales.

4. Add data labels and format the axis as currency.

Hint: Select the month and sales columns, then Insert → Column Chart.

Practical 11: Sort, Filter and Formatting

Objective: Manage orders and highlight important records.

Enter this data in Excel:

Order ID Customer Status Amount

ORD101 Malaika Paid 2500

ORD102 Kito Pending 4800

ORD103 Nuru Paid 1750

ORD104 Pendo Pending 6200

ORD105 Zuri Paid 3900

Tasks

1. Sort Amount from largest to smallest.

2. Filter to show only Pending orders.

3. Highlight amounts above KES 4,000 using conditional formatting.

4. Clear filters to restore all records.

Hint: Use Data → Sort/Filter and Home → Conditional Formatting.

Challenge Tasks

Challenge A: Small business summary. Create a table with at least six products, quantity sold, unit price and sales.

Calculate line sales, total, average, highest and lowest sales. Add a chart.

Challenge B: Student performance report. Enter at least eight students and three subject marks. Calculate total,

average and pass/fail. Highlight averages below 50 and sort by average.

Challenge C: Monthly budget dashboard. Create Budget, Actual and Variance columns for at least six categories.

Calculate totals, label overspending and insert a comparison chart.

Challenge D: Stock alert. Track opening stock, received, sold and reorder level. Calculate closing stock, status, count

reorder items and filter to show items requiring restocking.

Self-assessment

Skill Score (1–3)

Entering and formatting data ____

Using SUM, AVERAGE, MAX and MIN ____

Using IF, COUNTIF and SUMIF ____

Relative and absolute references ____

Sorting, filtering and conditional formatting ____

Creating a chart ____

Using text and lookup functions ____

Solutions and Answer Key

Attempt each practical first. Cell references below assume headings are in row 1 and data begins in row 2.

Practical 1: Student Marks Sheet

Student Total Average Result

Amina 224 74.67 Pass

Brian 146 48.67 Fail

Chao 263 87.67 Pass

Diana 174 58.00 Pass

Eliud 131 43.67 Fail

If marks are in B:D: E2 =SUM(B2:D2), F2 =AVERAGE(B2:D2), G2 =IF(F2>=50,"Pass","Fail"). Copy down. Highest total = 263. Class average across the five student averages = 62.53.

Practical 2: Shop Sales Register

Product Sales amount (KES)

Exercise book 1,

Pen 800

Ruler 525

Marker 960

File 650

Grand total 4,

D2 =B2*C2; copy down. Total =SUM(D2:D6) → KES 4,310. Highest line sale = KES 1,375; lowest = KES 525.

Practical 3: Household Budget

Category Budget Actual Variance

Rent 12,000 12,000 0

Food 8,000 9,200 1,

Transport 3,500 3,000 -

Utilities 2,500 2,800 300

School 5,000 4,500 -

TOTAL 31,000 31,500 500

Variance = C2-B2. Status =IF(D2>0,"Over Budget","Within Budget"). Total Budget = 31,000; Total Actual = 31,500.

Practical 4: Stock Control

Item Closing stock Status

Sugar 15 Reorder

Rice 27 OK

Soap 11 Reorder

Cooking oil 16 Reorder

Flour 14 Reorder

If Opening, Received, Sold and Reorder Level are in B:E: F2 =B2+C2-D2; G2 =IF(F2<=E2,"Reorder","OK"). Four items require reorder. Count with =COUNTIF(G2:G6,"Reorder").

Solutions and Answer Key (continued)

Practical 9: Invoice with VAT

Item Qty Unit price Line amount

Printer paper 3 650 1,

USB drive 2 900 1,

Mouse 4 750 3,

Keyboard 1 1,800 1,

Subtotal 8,

VAT at 16% 1,

Total incl. VAT 9,

Line amount = Quantity Ɨ Unit Price. Subtotal =SUM(D2:D5). If the practice VAT rate is stored in F2, VAT =D6*$F$2 and total =D6+D7. The 16% rate is for practice only; confirm the applicable tax rate before real-world use.

Practical 10: Chart

Total monthly sales = KES 109,500. Average monthly sales = KES 21,900. Select the Month and Sales columns, choose

Insert → Column Chart, then add title Monthly Sales and data labels.

Practical 11: Sort, Filter and Formatting

Sorted largest to smallest: ORD104 (KES 6,200), ORD102 (KES 4,800), ORD105 (KES 3,900), ORD101 (KES 2,500),

ORD103 (KES 1,750). Pending orders: ORD102 and ORD104. Amounts above KES 4,000: ORD102 and ORD104.

Practical 12: Lookup Practice

Requested product Expected result

Pen KES 25

File KES 80

Book KES 120

Stapler KES 250

XLOOKUP: =XLOOKUP(D2,$A$2:$A$6,$B$2:$B$6,"Not found"). VLOOKUP alternative: =IFERROR(VLOOKUP(D2,$A$2:$B$6,2,FALSE),"Not found").

Final Skills Checklist

Skill Done

I can enter, edit and format worksheet data. n

I can use cell references and copy formulas down. n

I can calculate totals, averages, highest and lowest values. n

I can use IF, COUNTIF and SUMIF. n

I understand relative and absolute references. n

I can sort, filter and use conditional formatting. n

I can create and format a chart. n

I can use basic text and lookup functions. n

I can check my results against an answer key. n

Formula troubleshooting

Problem What to check

#NAME? Check spelling and quotation marks around text.

#DIV/0! Check that the divisor is not zero or blank.

Wrong total Check the selected range and whether numbers are stored as text.

Formula shown as text Check cell format; change from Text and re-enter formula.

Lookup returns wrong item Use exact match and verify the lookup range.

Keep practising: build small worksheets, test formulas and explain what each formula

does.

END OF WORKBOOK