CBSE Class 10 · Information Technology 402 · 2026–27
A spreadsheet becomes useful when it helps you answer a question. Build a fair-stall budget, compare possible plans, find a target quantity and trace where a number came from. Then check your reasoning with short questions and practical tasks.
- Choose a suitable summary or what-if tool and check its output.
- Record a simple macro and distinguish a function from a cell-changing procedure.
- Link sheets, documents and data sources without losing their meaning.
- Review changes and explain a correct final spreadsheet.
Turn many rows into a useful summary
A school fair has two collection sheets. Monday records 12 notebooks and 8 folders; Tuesday records 15 notebooks and 5 folders. The useful answer is a summary: 27 notebooks and 13 folders. Consolidate combines ranges; Subtotals summarises groups within a list.
| Item | Monday | Tuesday | Sum |
|---|---|---|---|
| Notebook | 12 | 15 | 27 |
| Folder | 8 | 5 | 13 |
- Create Monday and Tuesday sheets with the same column labels.
- Choose Data → Consolidate. Set Function to Sum, select the first source range and click Add; add the second range too.
- Set a clear destination on a Summary sheet. Where labels are included, use the appropriate row/column-label options to match them. Labels must agree.
- Choose Link to source data when the summary should respond to later source changes. Without links, a copied result is not a live connection.
For subtotals, imagine one list containing Blue house amounts 40 and 60, and Green house amounts 30 and 50. Keep each complete record together, sort by House, select the list with headers and choose Data → Subtotals. Group by House, calculate Amount and use Sum. The house totals are 100 and 80; the grand total is 180. Outline controls can collapse detail rows while leaving summaries visible.
Choose the function that answers the question. Average of 12 and 15 is 13.5; Sum is 27. Do not average already-computed averages when their groups have different sizes. First decide whether the question needs total, count or mean, then verify one result by hand.


Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
Group by House; calculate Amount using Sum. Blue totals ₹100 and Green ₹80.
- Correct group/calculation/function (1)
- Both correct subtotals (1)
Ask “What if?” without losing your starting values
A fair stall wants to compare three plans before buying materials. Put selling price in B2, cost per item in B3, quantity in B4 and a fixed stall cost in B5. In B6 enter =(B2-B3)*B4-B5. This calculates profit after both variable and fixed costs.
| Plan | Price | Item cost | Quantity | Fixed cost | Profit |
|---|---|---|---|---|---|
| Starter | 50 | 20 | 100 | 600 | 2400 |
| Busy day | 50 | 20 | 140 | 600 | 3600 |
| Lower price | 45 | 20 | 140 | 600 | 2900 |
A scenario is a named set of input-cell values. It preserves an assumption set so you can switch between plans and compare the calculated outputs.
- Enter the Starter values. Select the input cells B2:B5, leaving the profit formula outside the selection.
- Choose Tools → Scenarios, name it Starter and confirm.
- Create another scenario named Busy day for that same range. Change its quantity to 140 and keep its other inputs. Create Lower price with 45, 20, 140 and 600.
- Select each scenario by its name and inspect B6. Confirm that each named plan restores its intended inputs; this catches accidental edits to the wrong active scenario.
The formula stays the same; the assumptions change. A higher quantity does not automatically mean higher profit than every other plan: price and cost matter too. These are modelled possibilities, not guaranteed sales.
Spot the mistake: replacing B6 with a typed answer destroys the calculation. Keep B6 as a formula and edit only the assumptions. A scenario compares specified inputs; it does not search for the input that produces an exact target.

Try the idea
Compare the fair-stall scenarios: Starter (50/20/100/600) gives ₹2,400 profit; Busy day (50/20/140/600) gives ₹3,600; Lower price (45/20/140/600) gives ₹2,900. Each scenario stores selling price, unit cost, quantity and fixed cost together.
Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
Profit = (45 − 20) × 140 − 600 = ₹2,900. Scenarios save named input sets so each plan can be restored and its result compared without retyping all assumptions.
- Correct ₹2,900 calculation (1)
- Named assumption sets and comparison explained (1)
Work backwards from a target with Goal Seek
The stall now has a precise question: how many items must we sell to earn ₹3,000? Price is ₹50, cost per item ₹20 and fixed cost ₹600. Quantity is the only value allowed to change.
| Cell | Meaning | Entry |
|---|---|---|
| B2 | Price | 50 |
| B3 | Cost per item | 20 |
| B4 | Quantity | 100 |
| B5 | Fixed cost | 600 |
| B6 | Profit | =(B2-B3)*B4-B5 |
Select Tools → Goal Seek. Set Formula cell to B6, Target value to 3000 and Variable cell to B4. Calc searches for a new B4 that makes the formula reach the target. Inspect the result before accepting it.
Check by hand: 30×quantity−600=3000, so quantity=3600÷30=120. Substituting 120 gives ₹3,000 exactly. The starting 100 items produced ₹2,400; 20 additional items are needed.
The three dialog fields have different jobs: one points to the formula, one contains the desired output, and one points to the changeable input. A target value is not a cell address. The variable cell must affect the formula, directly or through other formulas.
Goal Seek changes one variable. It does not automatically apply limits such as whole-number quantities or a maximum capacity. If it returns 120.5 items, you must interpret that result: for an “at least” target, round appropriately and check the formula again. For constrained optimisation, use Solver. A failed search can also mean the model has no suitable solution; it is not evidence that the formula should be replaced with the target number.

Try the idea
For a selling price of ₹50, unit cost of ₹20, 100 items and fixed cost of ₹600, profit = (50−20) × 100−600 = ₹2,400. To reach ₹3,000 profit while holding the prices and fixed cost constant, sell 120 items.
Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
B6=(B2-B3)*B4-B5. B2=50, B3=20 and B5=600. The target profit is ₹3,000. State all three Goal Seek settings and the expected quantity.Compare with a worked answer
Formula cell B6; target value 3000; variable cell B4. The expected quantity is 120, since (50 − 20) × 120 − 600 = 3000.
- Correct formula cell (1)
- Correct target (1)
- Correct variable cell (1)
- 120 with a valid check (1)
Practical studio: find the best feasible plan
Suppose a team makes cards and folders. A card needs 1 unit of material and earns ₹3; a folder needs 2 units and earns ₹5. There are 10 material units, and at most 4 cards can be made. How can the team earn the most while following those limits?
Solver changes one or more decision cells while respecting constraints. The objective can be a maximum, minimum or stated value. Here the objective is maximum earnings; the changing cells are quantities.
| Cell | Meaning | Entry or formula |
|---|---|---|
| B2 | Cards | 0 |
| C2 | Folders | 0 |
| D2 | Material used | =B2+2*C2 |
| E2 | Earnings | =3*B2+5*C2 |
- Choose Tools → Solver. Set the target/objective cell to E2 and choose Maximum.
- Set the changing cells to B2:C2.
- Add constraints: D2 ≤ 10; B2 ≤ 4; B2 ≥ 0; C2 ≥ 0; both quantities are integers.
- Use an available linear solver for this linear model. Solve, inspect the values and verify every condition before keeping the result.
The best plan is 4 cards and 3 folders: material 4 + 2 × 3 = 10; earnings 3 × 4 + 5 × 3 = ₹27. Compare 5 folders with no cards: ₹25. Compare 2 cards and 4 folders: ₹26. Any claim of a better result must satisfy all constraints, not merely give a large earnings number.
The integer conditions matter because halves of these products are not allowed. Removing non-negative constraints would describe an impossible production plan. Unlike a scenario, Solver searches possible inputs; unlike this course’s one-variable Goal Seek exercise, it can handle several variables and explicit limits. This is a practical modelling skill: begin by stating what may change, what must remain true and what success means.

Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
x=4, y=3 uses 4 + 6 = 10 material units and earns 12 + 15 = ₹27. The decision variables are the cells containing x and y; earnings is calculated by the objective formula.
- Correct x=4, y=3 (1)
- Material check 10 (1)
- Earnings check 27 (1)
- Decision variables identified (1)
Record a repeatable action—and test what it repeats
You prepare a similar expense sheet each week. A macro can repeat a sequence of commands, such as formatting the header, instead of making you perform each command again. The macro recorder saves supported actions as program instructions; it does not understand your intention.
- Start with a practice copy. Type Item and Amount in A1:B1. Use the Name Box or keyboard to select A1:B1 so the selection is explicit.
- Choose Tools → Macros → Record Macro. If that command is absent, the recording feature can be enabled under LibreOffice’s Advanced options. This is separate from permission to run a downloaded macro.
- Select A1:B1 using the keyboard/Name Box, apply bold and a background colour, then choose Stop Recording.
- Choose the current document, a library such as Standard and a module. Give the macro a clear name, such as FormatHeader, and save it.
- Remove the formatting in your practice copy and run FormatHeader through Tools → Macros → Run Macro. Check exactly which cells change.
Keeping a macro inside the document travels with that file; My Macros belongs to the local LibreOffice profile. Libraries contain modules; modules contain routines. Use the macro organiser to locate a routine and open it for editing.
A recorded selection may contain fixed cell addresses. It might always format A1:B1 even when another cell is active. Test that behaviour instead of assuming it follows the current selection. The recorder also cannot capture every action; window switching and some mouse actions are examples of limitations.
Only run code whose source and purpose you trust, and keep a recovery copy before a macro changes data. Do not lower general security settings to run an unknown file. A good automation is predictable: you can explain its input, action and expected result before clicking Run.


Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
Run it on a practice copy and verify the intended cells and formatting. Inspect whether it uses fixed addresses, and confirm it does not alter data or unexpected ranges.
- Test on a copy with correct target/output (1)
- Check addresses and unwanted side effects (1)
Give a macro inputs and read its output
A function macro calculates a result from arguments. The following original LibreOffice Basic function multiplies a quantity by a rate:
Function TripCost(units As Double, rate As Double) As Double
TripCost = units * rate
End FunctionCreate a module in the document’s Standard library, place this function there and save. With 30 in A2 and 40 in B2, =TRIPCOST(A2;B2) returns 1200. The arguments 30 and 40 are supplied to the parameters units and rate; assigning to TripCost returns the answer. If your Calc uses a different argument separator, use the separator shown by its Function Wizard.
A Sub performs an action; a Function returns a value. In the practical below, a separate Sub writes a number into a cell on the existing Budget sheet:
Sub WriteBudgetTotal
Dim sheet As Object
sheet = ThisComponent.Sheets.getByName("Budget")
sheet.getCellRangeByName("B4").Value = _
sheet.getCellRangeByName("B2").Value * _
sheet.getCellRangeByName("B3").Value
End SubCreate Budget first and put 30 in B2 and 40 in B3. Running the Sub writes 1200 to B4. It writes a value, not a continuing formula: changing B2 afterwards does not update B4 until you run the Sub again. In contrast, a cell formula =B2*B3 recalculates. Worksheet functions should return their result rather than secretly editing unrelated cells.
Practical extension—sort a complete list: create headers Name and Score with rows Asha/6, Dev/9, Noor/7. Record a macro that explicitly selects the entire two-column table, chooses Data → Sort, recognises the header and sorts Score descending. Reset the data and test. The result must be Dev/9, Noor/7, Asha/6. Sorting only scores would detach them from names. Direct cell access, arguments and sorting are practical ways to understand what automation actually changes.

Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
The result is 300. A worksheet function returns its result to the calling cell; a separate Sub can perform an action such as writing a value elsewhere. A value written by a Sub does not automatically recalculate when inputs change.
- Correct 300 (1)
- Accurate function/action or formula/value distinction (1)
Connect sheets without copying numbers by hand
A workbook can hold related sheets: April, May and Summary. Add a sheet using the sheet-tab controls, give it a meaningful name and keep a consistent layout. If April.B2 contains 125 and May.B2 contains 175, Summary can use =April.B2+May.B2 to obtain 300.
Calc’s sheet reference uses a dot between the sheet name and cell address. Names containing spaces are quoted: ='Term 1'.B2. An easy way to build a reference is to type = in the destination, click the source sheet and cell, then press Enter. Read the resulting formula so you can explain it as well as create it.
Relative cell references adjust when a formula is copied. With =April.B2 in Summary.B2, copying one column to the right gives =April.C2. Dollar signs lock particular parts. A reference such as =$April.$B$2 fixes the sheet, column and row.
A reference to another document also needs its file location. Save both files, start the destination formula, switch to the source document, select its cell and confirm. Calc creates the external reference with the file path, sheet name and cell address. That formula imports a cell value; a hyperlink simply opens or navigates to a destination.
Keep related files in an organised folder, preserve their locations and reopen the summary to test the link. If the source is moved, renamed or unavailable, investigate the link instead of typing a replacement total over the formula. When the application asks whether to update external links, update only sources you expect and trust.
Try changing April.B2 from 125 to 150. The linked total should be 325 after appropriate updating. A manually pasted 300 has no connection to the source and will stay stale.
Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
=April.B2+May.B2. The values are 125 and 175. What result appears? If April.B2 becomes 150, what should the updated result be? Explain why typing 300 into the Summary cell is not an equivalent replacement.Compare with a worked answer
The initial result is 300; the updated result is 325. Typing 300 stores a constant, removing the formula connection to the source cells.
- Correct initial and updated values (1)
- Constant versus linked formula distinction (1)
Choose navigation, imported data or a registered source
Three tools can look similar because they connect information. Choose them by the result you need:
| Need | Suitable connection |
|---|---|
| Jump to a sheet, file or website | Hyperlink |
| Use a changing cell value in a calculation | Cell reference |
| Bring in a supported external table/range | External data link |
| Access a named database’s tables/queries | Registered data source |
To create a navigation link, select its cell and choose Insert → Hyperlink. Choose an Internet or document target and supply meaningful display text. For another sheet in the current file, use Target in Document to select the destination. Reopen the hyperlink dialog to edit a selected link; use the hyperlink’s context-menu removal command to remove the link while retaining useful text.
An absolute file link names a complete location. A relative link describes where the target lies compared with the current file. Suppose Summary.ods and Evidence.ods are in the same folder. A relative link can survive moving that folder together, because their relationship stays the same. Moving only Evidence.ods breaks that relationship. Relative does not mean “works after every move”.
For a supported web table or named range, choose Sheet → Link to External Data, select the source and required table/range, and set an update interval if appropriate. Confirm headers, units and results after importing. A refresh can change values; it does not prove the source is correct.
To use an existing Base file as a registered source, open Tools → Options → LibreOffice Base → Databases, add the .odb file and give it a registered name. Then View → Data Sources lets you browse its tables and queries. Registration tells LibreOffice where the source is; it is not a new copy of every record.

Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
Use a hyperlink with Target in Document for navigation and Link to External Data for a supported table. Check that the expected headers, units and values remain correct after refresh.
- Hyperlink/Target in Document (1)
- External data link plus a meaningful refresh check (1)
Share carefully, review deliberately
Two learners edit a budget. One changes Quantity from 10 to 12; another corrects Rate from ₹20 to ₹25. Before keeping both changes, a reviewer should understand their effect: the total moves from ₹200 to ₹300.
Shared-file editing and recorded review are related but distinct workflows. For shared-file editing, save the spreadsheet in a location all collaborators can access and choose Tools → Share Spreadsheet. Appropriate file permissions are needed. The title shows the shared state; saving may present conflicts to resolve. Shared mode restricts some other tools.
For a controlled review exercise, work in an unshared copy. If necessary, turn sharing off through Share Spreadsheet, save, and confirm the shared label is gone. Set the reviewer’s user information, then use Edit → Track Changes → Record before making changes. Show recorded changes, inspect them and use Edit → Track Changes → Manage to accept or reject each one.
A comment explains a reason or asks a question without replacing the cell value. Insert a comment on the selected cell, edit its text when needed, and use its formatting controls to adjust presentation. “Quantity changed to 12 because of two new orders” is more useful than “Changed”. A comment is not the same as approving an edit.
Compare Document finds differences between a changed version and another version, including when recording was not enabled. Merge Document brings tracked contributions together for review. Keep the original and use review controls to decide which changes to retain; merging is not permission to overwrite conflicting data unquestioningly.
Finally, recalculate and inspect the result, save the reviewed file under a clear name and reopen it. A visible correction history is useful only if the final figures and the decision to accept them are also correct.


Pause. Think. Try.
Choose your answer, then check the explanation.
Apply it. Explain it.
Compare with a worked answer
Old total = 10 × 20 = ₹200; new total = 12 × 25 = ₹300. A comment can explain why the quantity or rate changed. The reviewer should inspect and accept/reject the edits, verify the calculation and save the correct final version.
- Correct old/new totals (1)
- Useful comment purpose (1)
- Review/accept or reject action (1)
- Check and save the final calculation (1)
Bring the ideas together
Explain one idea without looking, repeat one useful procedure, then revisit a question that made you pause.
