Practical Exercises 16 – 20

Spreadsheet Practicals

Complete step-by-step guides for all 5 Excel exercises β€” salary statements, result sheets with IF formulas, charts, data consolidation, sorting, filtering, and pivot tables.

πŸ“Š MS-Excel Salary Statement IF Formulas Charts Consolidation Pivot Tables
Ex. 16 β€” Formulas & IF
Ex. 17 β€” Sheet Operations
Ex. 18 β€” Charts
Ex. 19 β€” Consolidation
Ex. 20 β€” Sort, Filter & Pivot
πŸ“Š Overview
Exercise 16

Using Formulas and Functions β€” Monthly Sales Worksheet & Student Result Sheet

SUM, AVERAGE, Nested IF for Distinction / I Class / II Class / Fail

Objective: Prepare (A) a monthly sales worksheet showing Total and Average Sales per branch, and (B) a student result sheet using nested IF to calculate grades (Distinction / I Class / II Class / Fail).

🏒

Part A β€” Monthly Sales Worksheet

πŸ“Š Monthly_Sales.xlsx β€” Sheet1
ABCDEF
1BranchJanFebMarTotal SalesAverage Sales
2Chennai450005200048000=SUM(B2:D2)=AVERAGE(B2:D2)
3Coimbatore380004100039000=SUM(B3:D3)=AVERAGE(B3:D3)
4Madurai520005800055000=SUM(B4:D4)=AVERAGE(B4:D4)
5Salem290003300031000=SUM(B5:D5)=AVERAGE(B5:D5)
6Trichy610006500062000=SUM(B6:D6)=AVERAGE(B6:D6)
7TOTAL=SUM(B2:B6)=SUM(C2:C6)=SUM(D2:D6)=SUM(E2:E6)=AVERAGE(F2:F6)
1

Set Up the Worksheet

Open Excel β†’ rename Sheet1 to Sales (double-click the tab). Enter headers in Row 1: Branch, Jan, Feb, Mar, Total Sales, Average Sales. Bold + fill colour (teal) for headers.

2

Enter Branch Data

Enter 5 branch names in A2:A6. Enter monthly figures for Jan, Feb, Mar in columns B, C, D. Format numbers as Currency (β‚Ή): select B2:D7 β†’ Ctrl+1 β†’ Number β†’ Currency β†’ β‚Ή symbol β†’ 0 decimal places β†’ OK.

3

Enter Total Sales Formula

Click E2 β†’ type =SUM(B2:D2) β†’ Enter. Now drag the fill handle from E2 down to E6 (AutoFill). This copies the formula adjusting row numbers automatically.

4

Enter Average Sales Formula

Click F2 β†’ type =AVERAGE(B2:D2) β†’ Enter β†’ drag down to F6. Average = (Jan + Feb + Mar) / 3.

5

Grand Total Row

In Row 7, type "TOTAL" in A7. In B7: =SUM(B2:B6) β†’ drag right to D7. In E7: =SUM(E2:E6). In F7: =AVERAGE(F2:F6). Bold Row 7, apply yellow fill.

6

Format the Sheet

Select A1:F7 β†’ apply All Borders (Home β†’ Borders β†’ All Borders). AutoFit column widths: select all columns β†’ right-click column header β†’ Column Width β†’ Auto Fit Selection.

πŸŽ“

Part B β€” Student Result Sheet with Nested IF

πŸ“Š Results.xlsx β€” Sheet1
ABCDEFGH
1Reg. No.NameTamilEnglishMathsScienceTotalResult
22601Arjun82769188=SUM(C2:F2)=IF(G2/4>=75,"Distinction",IF(G2/4>=60,"I Class",IF(G2/4>=50,"II Class","Fail")))
32602Priya65706872=SUM(C3:F3)[IF formula]
42603Suresh48524550=SUM(C4:F4)[IF formula]
-- Nested IF formula for H2 (Result column) -- =IF(G2/4>=75,"Distinction", IF(G2/4>=60,"I Class", IF(G2/4>=50,"II Class", "Fail"))) -- How it works: G2 = Total marks (sum of 4 subjects) G2/4 = Average mark If avg β‰₯ 75 β†’ "Distinction" Else if avg β‰₯ 60 β†’ "I Class" Else if avg β‰₯ 50 β†’ "II Class" Otherwise β†’ "Fail" --
1

Create the Result Sheet

Set up columns: Reg. No. | Name | Tamil | English | Maths | Science | Social | Total | Average | Result. Enter data for 10 students.

2

Total Formula

In G2: =SUM(C2:F2) β†’ drag down to G11. This adds all 4 subject marks.

3

Average Formula (optional column)

In H2: =G2/4 or =AVERAGE(C2:F2) β†’ drag down. Format as Number with 1 decimal place.

4

Nested IF Result Formula

In the Result column (e.g., I2): type the full nested IF formula as shown above. The formula checks the average mark and returns the appropriate grade text. Press Enter.

5

AutoFill the IF Formula

Click I2 β†’ drag the fill handle down to I11. Excel automatically adjusts G2 to G3, G4, etc. for each student row.

6

Highlight Pass/Fail with Conditional Formatting

Select the Result column β†’ Home β†’ Conditional Formatting β†’ Highlight Cells Rules β†’ Text that Contains β†’ type "Fail" β†’ choose Red fill β†’ OK. Repeat for "Distinction" β†’ Green fill.

Exam Tip: The nested IF formula is one of the most important exam questions in COA Practical Exercise 16. Memorise the logic: =IF(avgβ‰₯75,"Distinction",IF(avgβ‰₯60,"I Class",IF(avgβ‰₯50,"II Class","Fail"))). Practice typing it correctly without errors.

πŸ“Œ Key Points β€” Exercise 16

  • =SUM(B2:D2) adds all values from B2 to D2. =AVERAGE(B2:D2) divides the sum by the count.
  • Nested IF checks conditions in order β€” the first TRUE condition is returned.
  • After entering a formula in one cell, use AutoFill (drag fill handle) to copy to all other rows.
  • Use Conditional Formatting to colour-code results (Green = Pass, Red = Fail) automatically.
  • Format numbers as Currency (β‚Ή) for sales data; as Number with 0 decimals for marks.
Exercise 17

Operating on the Sheets β€” Finding, Deleting, Adding Records β€” Formatting β€” Connecting Worksheets

Sheet-level operations and cross-sheet referencing

πŸ”

Part A β€” Finding, Deleting and Adding Records

1

Finding a Record

Press Ctrl+F β†’ type the value to find (e.g., "Chennai") β†’ click Find All. All matching cells are listed below with their addresses. Click any result to jump to that cell.

2

Adding a New Record (Row)

Click the row number below where you want to insert β†’ right-click β†’ Insert. A blank row appears. OR: click the last data row's next empty row and simply type new data.

3

Deleting a Record (Row)

Click the row number to select the entire row β†’ right-click β†’ Delete. All rows below shift up automatically. If formulas reference that row, they may show #REF! β€” check and fix.

4

Find & Replace a Value

Ctrl+H β†’ Find: old value β†’ Replace with: new value β†’ Replace All. Useful for updating all occurrences of a branch name or product code across the sheet.

🎨

Part B β€” Formatting Columns, Row Height, Merge, Split

βœ“
Column Width: Right-click column header β†’ Column Width β†’ type value (e.g., 15). Or drag the right edge of the column header. Double-click edge for AutoFit.
βœ“
Row Height: Right-click row number β†’ Row Height β†’ type value (e.g., 20). Or drag the bottom edge of the row number.
βœ“
Merge Cells: Select multiple cells β†’ Home β†’ Merge & Centre. Used for title rows spanning all columns. The content of the top-left cell is kept; others are deleted.
βœ“
Unmerge (Split) Cells: Select merged cell β†’ Home β†’ Merge & Centre dropdown β†’ Unmerge Cells. Data returns to the top-left cell only.
βœ“
Format Columns: Select column(s) β†’ Ctrl+1 β†’ change Number format, Alignment, Font, Border, Fill colour as needed.
βœ“
Wrap Text: Select cell β†’ Home β†’ Wrap Text. Long text wraps inside the cell instead of overflowing into adjacent cells.
πŸ”—

Part C β€” Connecting Worksheets and Entering Data

Cross-sheet referencing lets one worksheet pull data from another. The format is: =SheetName!CellAddress. For example, =Sheet2!B5 reads the value from cell B5 on Sheet2.

1

Create Two Sheets

Right-click the Sheet1 tab β†’ Insert β†’ Worksheet β†’ name it "BranchData". Rename Sheet1 to "Summary" (double-click tab β†’ type name β†’ Enter).

2

Enter Data in BranchData Sheet

Click the BranchData tab β†’ enter branch names and figures (Jan, Feb, Mar sales) in columns A–D.

3

Reference Data in Summary Sheet

Click the Summary tab β†’ click cell B2 β†’ type = β†’ click the BranchData tab β†’ click cell B2 β†’ press Enter. The formula bar shows: =BranchData!B2. The value from BranchData appears in Summary.

4

Create a Summary Total

In Summary, click cell B8 β†’ type: =SUM(BranchData!B2:B6) β†’ Enter. This sums the Jan column from BranchData directly in the Summary sheet.

5

Verify Live Update

Go back to BranchData β†’ change a sales figure β†’ switch to Summary β€” the total updates automatically. This is the power of cross-sheet linking.

-- Cross-sheet reference examples -- =BranchData!B2 -- Single cell from another sheet =SUM(BranchData!B2:B6) -- Sum a range from another sheet =Sheet2!A1&" - "&Sheet2!B1 -- Combine text from another sheet =[OtherFile.xlsx]Sheet1!A1 -- Reference another workbook

πŸ“Œ Key Points β€” Exercise 17

  • Cross-sheet formula format: =SheetName!CellAddress β€” the sheet name and ! are added automatically when you click.
  • Inserting a row shifts all rows below down β€” formulas that reference rows may need to be checked.
  • Merge & Centre is used for title rows; be cautious β€” merging hides data in non-left cells.
  • Renaming sheets (double-click tab) makes cross-sheet formulas more readable.
  • When deleting a row that formulas reference elsewhere, the formula shows #REF! β€” go to that cell and fix the reference.
Exercise 18

Creating a Chart β€” Monthly Sales Comparison Across Branch Offices

Clustered column/bar chart with titles, legend, and data labels

πŸ“Š

Sample Chart β€” Branch-wise Monthly Sales

Monthly Sales β€” Branch Comparison (β‚Ή in thousands)

β‚Ή45K
Chennai
β‚Ή38K
Coimbatore
β‚Ή52K
Madurai
β‚Ή29K
Salem
β‚Ή61K
Trichy

Fig 10.1 β€” Clustered Column Chart: Branch-wise January Sales

πŸ“ˆ

Step-by-Step: Creating the Sales Comparison Chart

1

Select the Data Range

Open the sales worksheet from Exercise 16. Select A1:D6 (Branch names + Jan, Feb, Mar columns β€” include the header row). Do NOT include the Total/Average columns.

2

Insert Chart

Insert tab β†’ Charts group β†’ click Column Chart icon β†’ choose Clustered Column (first option). A chart appears on the worksheet.

3

Add Chart Title

Click the chart β†’ Chart Design tab β†’ Add Chart Element β†’ Chart Title β†’ Above Chart β†’ type: "Monthly Branch Sales Comparison". Click outside the title to confirm.

4

Add Axis Titles

Chart Design β†’ Add Chart Element β†’ Axis Titles β†’ Primary Horizontal: type "Branch Office". Primary Vertical: type "Sales Amount (β‚Ή)".

5

Add Data Labels

Chart Design β†’ Add Chart Element β†’ Data Labels β†’ Outside End. The exact value (e.g., 45000) now appears on top of each bar.

6

Format the Chart

Chart Design β†’ Change Colors β†’ choose a colourful palette. Click individual bars to select a series β†’ right-click β†’ Format Data Series β†’ change fill colour. Apply a chart style from the gallery.

7

Move and Resize the Chart

Click inside the chart β†’ drag to position it below the data table. Drag the corner handles to resize. To move to a new sheet: Chart Design β†’ Move Chart β†’ New sheet β†’ name it "SalesChart" β†’ OK.

8

Switch Between Chart Types

Chart Design β†’ Change Chart Type β†’ choose Bar (horizontal bars), Line, or Pie to see different views. For this exercise, Clustered Column (vertical bars) is the correct choice.

Chart TypeBest Used ForSyllabus Requirement
Clustered ColumnComparing values across categories side by sideβœ… Exercise 18 β€” Branch sales comparison
Bar (Horizontal)Same as column but horizontal β€” good for long labelsAlternative to column
LineTrends over time β€” monthly/yearly progressionUseful for showing sales growth trend
PieEach branch's share of total sales as a percentageGood for single series data

πŸ“Œ Key Points β€” Exercise 18

  • Always select data including the header row before inserting a chart β€” headers become axis labels.
  • A chart is linked to its data β€” change any sales figure and the chart updates instantly.
  • Use Chart Design β†’ Add Chart Element to add/remove titles, data labels, and legends.
  • Move chart to a New Sheet (Chart Design β†’ Move Chart) for a clean, dedicated chart page.
  • For the COA exam, use Clustered Column chart to compare multiple branches across multiple months.
Exercise 19

Using the Data Consolidate Command β€” Departmental Budget Totals and Averages

Combining data from multiple ranges or sheets into a single summary

Data Consolidation combines values from multiple ranges (which may be on different sheets or workbooks) using a summary function (Sum, Average, Count, Max, Min). It is ideal for creating budget summaries from departmental data.

πŸ“‹ Sheet: Dept_A

CategoryBudget (β‚Ή)
Wages120000
Travel25000
Supplies18000

πŸ“‹ Sheet: Dept_B

CategoryBudget (β‚Ή)
Wages95000
Travel30000
Supplies22000
↓ Consolidate (Sum)

πŸ“Š Sheet: Summary (Consolidated)

CategoryTotal Budget
Wages215000
Travel55000
Supplies40000
πŸ”’

Step-by-Step: Data Consolidation

1

Prepare Source Data Sheets

Create 3 sheets: Dept_A, Dept_B, Dept_C. Each has the same structure: Column A = Category (Wages, Travel, Supplies, Entertainment, Office), Column B = Budget Amount. Labels must be identical across sheets for consolidation to work correctly.

2

Create Summary Sheet

Right-click a tab β†’ Insert β†’ Worksheet β†’ rename to "Consolidated_Summary". Click cell A1 of this sheet β€” this is where the consolidated result will be placed.

3

Open Data Consolidate

Data tab β†’ Data Tools group β†’ Consolidate. The Consolidate dialog opens.

4

Choose Function

In the Function dropdown: choose Sum (to total all department budgets). For average budget: choose Average.

5

Add References

Click in the Reference box β†’ click the Dept_A tab β†’ select A1:B6 (include headers) β†’ click Add. Repeat for Dept_B (A1:B6 β†’ Add) and Dept_C (A1:B6 β†’ Add). All three ranges appear in the "All references" list.

6

Set Label Options

Check "Top row" and "Left column" so Excel uses the category names and column headers as labels in the output table.

7

Click OK

The consolidated summary appears in the Summary sheet with each category's total (or average) budget from all three departments combined.

8

Format the Output

Apply Currency format (β‚Ή) to the amount column. Add borders and header shading. Add a title row: "Consolidated Department Budget Summary".

Practical Use: The syllabus specifically mentions using Consolidate to calculate the "total amount budgeted for all departments (wages, travel, entertainment, office supplies)" and also the "average amount budgeted for department office expenses." Practice both β€” once with Sum function, once with Average function.

πŸ“Œ Key Points β€” Exercise 19

  • Data Consolidate: Data β†’ Consolidate. Choose Sum for totals, Average for averages.
  • All source ranges must have identical labels (same category names) for consolidation to match correctly.
  • Check "Top row" and "Left column" so Excel uses labels to align the data properly.
  • You can consolidate from ranges on different sheets, different workbooks, or even different locations on the same sheet.
  • Unlike a Pivot Table, Data Consolidation creates a static snapshot β€” you must redo it if source data changes (unless you add a link).
Exercise 20

Sorting Data, Filtering Data, and Creation of Pivot Tables

Three powerful data analysis tools in one exercise

πŸ”ƒ

Part A β€” Sorting Data

Sorting rearranges rows in a table based on values in one or more columns — either in Ascending (A→Z, 0→9) or Descending (Z→A, 9→0) order. The original data is rearranged (not copied).

1

Simple Sort (One Column)

Click any cell inside your data table → Data tab → click A→Z button (Sort Ascending) or Z→A (Sort Descending). Excel sorts by the column your cursor is in.

2

Multi-level Sort

Data β†’ Sort (opens the Sort dialog). Sort by: choose "Total Marks" β†’ Order: Largest to Smallest. Click Add Level β†’ Then by: choose "Name" β†’ Order: A to Z. This sorts primarily by marks (descending) and breaks ties alphabetically.

3

Sort the Student Result Sheet

Open the result sheet from Ex. 16 β†’ click inside the data β†’ Data β†’ Sort β†’ Sort by: Total β†’ Largest to Smallest β†’ OK. Students now appear ranked from highest to lowest marks.

4

Sort by Custom List

Data β†’ Sort β†’ Order dropdown β†’ Custom List β†’ you can sort by month names (Jan, Feb, Mar…) or day names (Mon, Tue, Wed…) which don't sort correctly alphabetically.

πŸ”

Part B β€” Filtering Data

AutoFilter temporarily hides rows that don't match selected criteria. The data is NOT deleted β€” only hidden. Remove the filter to see all rows again.

1

Apply AutoFilter

Click any cell inside the data table β†’ Data β†’ Filter (or press Ctrl+Shift+L). Drop-down arrows (β–Ό) appear in each column header.

2

Filter by a Specific Value

Click the β–Ό on the "Result" column β†’ uncheck "Select All" β†’ check only "Distinction" β†’ OK. Only the Distinction students are shown; others are hidden (row numbers turn blue).

3

Number Filter (Range)

Click β–Ό on "Total" column β†’ Number Filters β†’ Greater Than β†’ type 200 β†’ OK. Shows only students with total marks above 200.

4

Text Filter

Click β–Ό on "Branch" column β†’ Text Filters β†’ Contains β†’ type "Chennai" β†’ OK. Shows only Chennai branch rows.

5

Clear Filter

Data β†’ Clear (removes all active filters and shows all rows again). OR click the β–Ό arrow β†’ "Clear Filter from [column name]" to clear just that column's filter.

πŸ“Š

Part C β€” Creating Pivot Tables

Pivot Table is an interactive summary table that lets you analyse large datasets by dragging and dropping fields. It can instantly show totals, averages, counts, and more β€” grouped by any category.

πŸ“₯ Source Data (sample)

RegionProductSales
NorthPen1200
SouthBook3400
NorthBook2100
SouthPen950
EastPen1800

πŸ“Š Pivot Output (Sum of Sales by Region)

Row LabelsSum of Sales
East1800
North3300
South4350
Grand Total9450
1

Prepare Source Data

Ensure data has clear column headers in Row 1 (e.g., Region, Product, Salesperson, Month, Sales Amount). No blank rows or columns within the data range.

2

Insert Pivot Table

Click any cell inside data β†’ Insert β†’ PivotTable β†’ "From Table/Range" β†’ verify the range β†’ choose New Worksheet β†’ OK. A new sheet opens with the PivotTable Fields pane on the right.

3

Configure Rows

In the PivotTable Fields pane, drag Region from the field list down to the Rows area. The Pivot Table now shows each unique region as a row.

4

Configure Values

Drag Sales to the Values area. Excel automatically applies Sum. The total sales for each region appear instantly.

5

Add Columns

Drag Product to the Columns area to show a cross-tab: rows = regions, columns = products, values = total sales. A 2D summary table appears.

6

Change Value Summary

In Values area β†’ click "Sum of Sales" β†’ Value Field Settings β†’ choose Average, Count, Max, or Min instead of Sum.

7

Add a Slicer (optional)

PivotTable Analyze β†’ Insert Slicer β†’ choose a field (e.g., Region) β†’ OK. A visual filter panel appears β€” click any region to instantly filter the pivot table.

8

Refresh Pivot Table

If source data changes: right-click inside the pivot table β†’ Refresh. Or PivotTable Analyze β†’ Refresh All.

-- Pivot Table configuration example -- ROWS area: Region (North, South, East, West) COLUMNS area: Product (Pen, Book, Ruler) VALUES area: Sum of Sales -- Result: 2D cross-tabulation showing total sales for each Region Γ— Product combination with Grand Total row and column automatically --

πŸ“Œ Key Points β€” Exercise 20

  • Sort rearranges the actual data rows. Filter only hides rows β€” data is not deleted.
  • Press Ctrl+Shift+L to quickly toggle AutoFilter on/off.
  • Pivot Tables require data with column headers in Row 1 and no blank rows.
  • Drag fields between Rows/Columns/Values/Filters to instantly change the summary view.
  • Always Refresh the pivot table after changing source data (right-click β†’ Refresh).
  • A Slicer is a visual filter button panel β€” much more user-friendly than the filter dropdowns.
πŸ“Š

Spreadsheet Practicals β€” Complete Overview

ExerciseTopicKey Functions / FeaturesImportant Shortcut
Ex. 16Formulas & IF=SUM, =AVERAGE, Nested IF (Distinction/I/II/Fail), AutoFill, Conditional FormattingAlt+= for AutoSum
Ex. 17Sheet OperationsFind, Add/Delete Rows, Merge Cells, Row Height, Column Width, Cross-sheet =SheetName!CellCtrl+F to find
Ex. 18ChartsClustered Column, Chart Title, Axis Titles, Data Labels, Move to New Sheet, Change TypeInsert β†’ Column Chart
Ex. 19Data ConsolidationData β†’ Consolidate, Sum/Average function, Multiple source ranges, Top row + Left column labelsData β†’ Consolidate
Ex. 20Sort, Filter & PivotA→Z / Z→A Sort, Multi-level Sort, AutoFilter, Number/Text Filters, Pivot Table (Rows/Columns/Values), Slicer, RefreshCtrl+Shift+L (Filter)
⌨️

Essential Excel Shortcuts Quick Reference

Alt+=AutoSum
Ctrl+Shift+LToggle Filter
Ctrl+1Format Cells dialog
F4Toggle absolute ref ($)
Ctrl+DFill Down
Ctrl+RFill Right
Ctrl+HomeGo to cell A1
Ctrl+EndLast used cell
Ctrl+FFind in sheet
Ctrl+HFind & Replace
Ctrl+Shift+$Currency format (β‚Ή)
Ctrl+Shift+%Percentage format

βœ… Your Exercise Progress β€” Click to mark complete

16
Formulas & IF
17
Sheet Ops
18
Charts
19
Consolidation
20
Sort, Filter & Pivot
← Chapter 9: Word Practicals Chapter 11: Presentation Practicals β†’