Unit 2 of 4 ยท Theory + Practical

Electronic Spreadsheet โ€“ Advanced

LibreOffice Calc: Track Changes, Sharing, Macros, What-if Scenarios, Consolidate, Hyperlinks, and Pivot Tables. Complete notes for CBSE IT 402.

๐Ÿ”„

Track Changes

Records who changed what. Accept or reject changes.

โš™๏ธ

Macros

Automate tasks: Tools โ†’ Macros โ†’ Record Macro.

๐Ÿ“Š

Scenarios

What-if analysis: test different data values for outcomes.

๐Ÿ”—

Consolidate

Combine data from multiple sheets. Default function: Sum.

๐ŸŒ

Hyperlinks

Absolute (full path) vs Relative (partial path) links.

๐Ÿ“‹

Pivot Tables

Summarise large data sets. Called DataPilot in older Calc.

Track Changes in LibreOffice Calc โญ

What is Track Changes?

Track Changes is a feature that records all edits made to a spreadsheet, showing who made the change, when, and what was changed. This is extremely useful when multiple people are collaborating on a spreadsheet.

  • Enable: Edit โ†’ Track Changes โ†’ Record Changes.
  • View changes: Edit โ†’ Track Changes โ†’ Show Changes โ€” highlights modified cells.
  • Accept/Reject: Edit โ†’ Track Changes โ†’ Accept or Reject Changes.
  • Changed cells appear with a coloured border and a small triangle in the corner.
  • Hover over a changed cell to see a tooltip with the editor's name and the original value.

Share Document vs Track Changes

Share Document (Tools โ†’ Share Spreadsheet) allows multiple users to edit the same document simultaneously over a network. Track Changes logs what changes were made. These two features work together for collaborative editing.

Macros in LibreOffice Calc โญ

Recording and Running Macros

A Macro records a sequence of actions so you can replay them with a single click or keyboard shortcut.

  • Record: Tools โ†’ Macros โ†’ Record Macro โ†’ perform your actions โ†’ click Stop Recording.
  • Run: Tools โ†’ Macros โ†’ Organize Basic Macros โ†’ select macro โ†’ Run.
  • Assign to button: You can assign a macro to a toolbar button or a keyboard shortcut.
  • Macros are stored in Modules under My Macros or within the document.
  • LibreOffice macros use the LibreOffice Basic programming language (similar to VBA).

โš ๏ธ Exam Tip: The correct path to record a macro is Tools โ†’ Macros โ†’ Record Macro. This is the same in both Writer and Calc.

What-if Scenarios โญ

Scenarios in LibreOffice Calc

Scenarios allow you to save and switch between different sets of input values to see how they affect the results of formulas. This is called What-if Analysis.

  • Create a Scenario: Select input cells โ†’ Tools โ†’ Scenarios โ†’ Add Scenario โ†’ Give it a name โ†’ Enter scenario values.
  • Switch between scenarios: Use the Scenarios Navigator or the dropdown that appears on the sheet.
  • Delete a Scenario: Tools โ†’ Scenarios โ†’ Select โ†’ Delete.
  • Use case example: A student wants to test how different discount rates (5%, 10%, 15%) affect the total revenue of a shop.

Goal Seek โ€” Related Tool

Goal Seek works the opposite way to Scenarios: you specify the desired result of a formula, and Calc finds the input value needed to achieve it.

  • Access: Tools โ†’ Goal Seek.
  • Example: "I want Cell B5 (Total) to equal โ‚น50,000. What should the unit price be?"

Consolidate โญ

Consolidate โ€” Merging Data from Multiple Sheets

Consolidate combines data from multiple source ranges (on the same sheet or different sheets) into a single destination range using a selected function.

  • Access: Data โ†’ Consolidate.
  • Default function: Sum โ€” When the Consolidate dialog opens, Sum is selected by default. โญ
  • Other available functions: Average, Max, Min, Count, etc.
  • You can check "Link to source data" to keep the consolidated data updated automatically.

Hyperlinks in Calc โญ

Absolute vs Relative Hyperlinks

A Hyperlink is a clickable link in a cell that opens a web page, another document, or jumps to a cell in the same spreadsheet.

TypeDescriptionExample
Absolute HyperlinkContains the complete (full) path/URL to the target file or location. Works regardless of where the spreadsheet is stored.C:\Users\Student\data.xlsx or https://www.skillyog.com
Relative HyperlinkContains only a partial path relative to the spreadsheet's current location. Breaks if the file is moved.../data/sales.xlsx

Insert hyperlink: Insert โ†’ Hyperlink (or Ctrl+K).

Pivot Tables (DataPilot)

Creating Pivot Tables in Calc

A Pivot Table (called DataPilot in older versions of LibreOffice) summarises and analyses large data sets, allowing you to group, filter, and aggregate data interactively.

  • Access: Insert โ†’ Pivot Table (or Data โ†’ DataPilot โ†’ Start).
  • Drag fields to: Row Fields, Column Fields, Data Fields, Filter Fields.
  • Data Fields show aggregated values (Sum, Count, Average, etc.).
  • Pivot Tables are excellent for generating quick sales summaries, attendance reports, etc.

๐ŸŽฏ Practice: Try our Unit 2 MCQ Practice โ†’ to test your spreadsheet knowledge before the board exam.

โ† Unit 1 Next: Unit 3 โ€“ Database โ†’