⚡0 XP🔥0

Unit 2 · Electronic Spreadsheet (Advanced) | इलेक्ट्रॉनिक स्प्रेडशीट

Lesson 7 of 9 ⏱ 3 min read ❓ 5-question quiz ▶ Runs SQL

LibreOffice Calc - consolidating data, subtotals, what-if analysis (scenarios, goal seek, solver), linking data and spreadsheets, sharing and reviewing, and macros.

Consolidating data#

Data → Consolidate combines data from several sheets/ranges into one using a function (Sum, Average, Count…). Use labels from row/column and Link to source data so the result updates.

Subtotals#

Data → Subtotals groups rows by a column (e.g. Region) and calculates totals for each group, with an outline to expand/collapse. Sort the data by the group column first.

हिंदी में समझें

समेकन (Consolidate) कई शीटों के आँकड़ों को एक जगह जोड़ता है, और उप-योग (Subtotals) किसी कॉलम के समूह के अनुसार योग निकालता है। उप-योग से पहले डेटा को उसी कॉलम पर क्रमबद्ध (sort) करें।

What-if analysis#

Tool Use
Scenarios (Tools → Scenarios) save different sets of input values (e.g. best/worst case) and switch between them
What-If (multiple operations) table of results for a formula with changing inputs
Goal Seek (Tools → Goal Seek) find the input value needed to reach a target result
Solver optimise a value with several variables and constraints
Goal Seek

Marks needed: average formula in D2 = AVERAGE(A2:C2). Goal Seek with formula cell D2, target 80, variable cell C2 tells you the marks needed in the third test.

Linking data and sheets#

Insert, rename and move sheets; refer to another sheet: =Sheet2.A1 (or $Sheet2.A1); another file: ='file:///C:/data/sales.ods'#$Sheet1.A1. Hyperlinks (Insert → Hyperlink) to sheets, files or websites; Link to External Data (Sheet → Link to External Data) pulls tables from HTML pages; Data sources (registered databases) via View → Data Sources.

Sharing and reviewing#

Tools → Share Spreadsheet lets many users edit; record changes, add comments, accept/reject, merge and compare documents.

Macros#

A macro records a sequence of actions to repeat them (Tools → Macros → Record Macro). Macros are saved in modules of a library and can also be written as functions in LibreOffice Basic.

Practise the formulas#

You can practise the same spreadsheet logic in SQL:

▶ Try it Yourselfdatabase: shopSQL
Ctrl + Enter to run

Exam tips#

  • Know which tool fits a situation: target value → Goal Seek; several versions of inputs → Scenarios.

Quick Quiz

Q1.

Tool to find the input needed for a target result is

Q2.

Data → Consolidate is used to

Q3.

Before using Subtotals you should

Q4.

A recorded sequence of actions is a

Q5.

Reference to cell A1 on Sheet2 in Calc is