Course Content
Advanced Spreadsheets
This topic covers the ICDL Advanced Spreadsheet module: conditional formatting, advanced functions, charts and tables, data analysis and what-if scenarios, data validation and auditing, macros and templates, and collaboration features.
0/9
Advanced Presentation
This topic covers the ICDL Advanced Presentation module: planning professional presentations, using slide masters and templates, working with graphical objects, charts and diagrams, integrating multimedia and animation, embedding and linking data from other sources, and managing presentations for different audiences.
0/9
Advanced Databases
This topic covers the ICDL Advanced Database module: designing and planning relational databases, creating tables and relationships, developing advanced queries, building forms and subforms, generating complex reports, using macros and SQL for automation, and implementing database security and linking data from external sources.
0/9
Test
Protected: Icdl advanced

Advanced Spreadsheets

Lesson 5 – Data Management: Tables, Sorting, Filtering and Subtotals

This lesson covers structured tables, advanced sorting and filtering, subtotals, and basic data validation. These skills help you manage and analyse larger data lists safely and efficiently.

1. Converting ranges to tables

Structured tables make it easier to sort, filter and summarise data. They also expand automatically as new rows are added.

  • Convert a data range to a recognised table using the built-in table feature.
  • Use table features such as automatic headers, banded rows, and filter buttons on each column.
  • Apply different table styles to improve readability, then remove or change styles where necessary.
  • Add a Total Row and use built-in summary functions like Sum, Average, Count.

2. Advanced sorting

Sorting reorganises your data to make patterns easier to see. Advanced sorting lets you sort on more than one field and even by colours or icons (where supported).

  • Sort by a single field, such as sorting Sales in descending order.
  • Apply a multi-level sort (for example: first by Region, then by Sales within each Region).
  • Sort by values, cell colour, font colour or icon (where supported in your spreadsheet application).
  • Always ensure that the entire list is included in the sort to avoid misaligned or corrupted data.

An illustration of a spreadsheet application's multi-level sort dialog box. The dialog shows sorting first by Region, then by Sales within each Region. Include dropdown menus for fields, options for ascending/descending order, and buttons like OK and Cancel.

3. Advanced filtering

Filtering shows only the rows that meet given criteria, while hiding the others. This is useful when working with large datasets.

  • Apply AutoFilter to a data range or table to add filter arrows to each column.
  • Filter by:
    • Specific values (for example, only show Region = North).
    • Text conditions (Contains, Begins with, Ends with).
    • Number conditions (Greater Than, Less Than, Between).
    • Date conditions (This Month, Last Year, Before / After a specified date).
  • Clear individual column filters or remove all filters to return to the full dataset.
  • Remove filter arrows when filtering is no longer required.

An illustration of a spreadsheet application's filter drop-down menu. The menu shows filtering options for text, number, and date conditions. Include options like 'Contains', 'Begins with', 'Greater Than', 'Less Than', 'This Month', 'Last Year', and 'Before/After'. The menu should have checkboxes for specific values and a clear button to remove filters.

4. Subtotals

Subtotals calculate summary values for groups within sorted data, such as totals per department or region.

  • Sort the data by the field you want to group by (for example, Department or Category).
  • Use the Subtotal tool to insert subtotals at each change in the grouping field.
  • Select from functions like Sum, Average, Count, Min, Max and others.
  • Use outline levels to expand or collapse detail rows, showing only grand totals or group totals as needed.
  • Remove all subtotals once the analysis is complete, especially before applying other sorts or filters.

An illustration of a spreadsheet showing a subtotaled list grouped by Department. The spreadsheet includes columns like Department, Item, and Sales. Each department group has a subtotal row showing the sum of Sales. Outline levels are visible on the left side, allowing expansion or collapse of detail rows. The subtotal rows are bolded and labeled, such as 'Subtotal for Marketing'.

5. Basic data validation

Data validation helps prevent incorrect entries and guides users when they type data into a worksheet.

  • Restrict entries to whole numbers or a numeric range (for example, 0–100 for a percentage score).
  • Restrict entries to dates within a specified period (such as this financial year).
  • Use list validation to provide a drop-down list of allowed values (for example, Status = Open, Closed, Pending).
  • Set input messages that appear when a user selects a cell, explaining what should be entered.
  • Set error alerts to display a warning or stop message when invalid data is entered.

An illustration of a spreadsheet application's Data Validation dialog box. The dialog shows three examples: one restricting entries to whole numbers between 0 and 100, one restricting dates to a specific range, and one using a drop-down list with values like Open, Closed, and Pending. Include input message and error alert sections in the dialog.

6. Good practice

Good data management practices help keep spreadsheets reliable and easier to use.

  • Maintain a single header row and avoid blank rows or columns inside the data area.
  • Use tables for data that will be sorted, filtered or analysed regularly.
  • Store related data in one continuous block so that filters, sorts and subtotals work correctly.
  • Record which filters and sorts were used when producing reports so that results can be reproduced or checked.

An illustration of a spreadsheet showing good data management practices. The spreadsheet includes a clean single header row, no blank rows or columns, and a continuous block of related data. The data is structured as a table with clearly labeled columns such as Region, Sales, and Status. The table is ready for sorting, filtering, and subtotaling. Include a note or annotation indicating that filters and sorts used should be recorded for reporting.

7. Practical Activity

Complete this activity to apply the lesson skills.

  1. Open a worksheet containing an existing data range (for example, a sales or orders list).
  2. Convert the data range to a table and apply a suitable table style.
  3. Add a Total Row and choose an appropriate summary function for a numeric column (such as Sum of Amount).
  4. Apply a multi-level sort (for example, first by Region, then by Sales within each region).
  5. Use filters to display only records above a target value (for example, Sales >= 10,000) or for a particular region.
  6. On a copy of the data (or after clearing filters), use the Subtotal tool to insert subtotals by Category or Department and practise expanding/collapsing the outline.
  7. Create a simple data validation list for a Status column (for example, Pending, Shipped, Cancelled) and test the input and error messages.
Product Category Region Sales (£)
Laptop Electronics North 1,500
Microwave Home South 1,000
Sofa Home North 2,400
Printer Electronics East 800
Desk Chair Office West 750
Refrigerator Home South 1,950
LED TV Electronics North 2,750
Filing Cabinet Office East 900