All IGCSE Information and Communication Technology videos
Preparing the video…

0417 · 20.1Create a data model

Cambridge IGCSE Information and Communication Technology (0417) · Topic 20, Spreadsheets · 14:20

Practise this topic

Real past-paper questions on create a data model, with their mark schemes. Free with an account.

Practise this topic

57 more Information and Communication Technology videos like this one

With a CIE Buddy account: every video in syllabus order, past-paper practice on each topic, and an AI tutor for anything unclear.

In this video

  1. 0:00Spreadsheet model structure. Defines data models, cells, inputs and outputs, then shows how to insert, delete and merge spreadsheet cells safely.
  2. 2:48Formulae and calculation order. Explains formulae, arithmetic operators, order of operations and brackets using sales and label calculations.
  3. 4:32Relative, absolute and named references. Shows how copied formulae use relative references, fixed tax rates use absolute references, and names improve clarity.
  4. 6:13Functions for analysing data. Explains arguments and common functions including SUM, AVERAGE, MAX, MIN, INT, ROUND and counting functions.
  5. 7:56Lookups, IF and external data. Covers lookup functions, conditional and nested formulae, and using data tables from another workbook.
  6. 11:09Exam practice and model checks. Recaps key definitions, reference questions, practical evidence requirements and common errors when creating spreadsheet models.

Transcript: Create a data model

Spreadsheet model structure

0:00A school stall changes its prices before opening. Every sales estimate must respond correctly, including totals and any extra charges. A spreadsheet can keep those calculations connected. The important skill is building rules that continue to work when values change or formulae are copied. Data is facts or values that a computer can process. A computer model is a representation of a real system, held on a computer, that uses data and rules to predict results when inputs change.

0:25Our spreadsheet represents a stall through quantities, prices and calculations. Changing an input lets us investigate a different outcome. A cell is the space at the intersection of a row and a column. A cell reference identifies a cell using its column letter and row number. Cell B two contains twelve in this example. A range is a group of cells, such as B two to B four. Inputs are values supplied to a model, while outputs are results calculated by its rules.

0:52Keep quantities and prices in separate cells so each input has a clear purpose. Labels identify what those values represent. Answers that name a software brand gain no marks, so every step here says what to do and what to check. Creating a model also involves changing its structure. In this practice sheet, insert a whole row above the pen entry to make room for another item. Existing entries below the insertion move down.

1:16Select the row itself so the change affects the complete width of the worksheet. Delete the unused draft row by selecting that whole row and applying deletion. Its cells are removed, and lower rows move upwards. Clearing contents instead leaves the row in place. Choose the action according to whether the structure or just an entry needs changing. Insert a column before the quantity column when you need space for a new category.

1:38The quantity heading moves one column to the right with its entries. Check that each heading still matches the values underneath it. This preserves the meaning of the model as its structure changes. Delete the newly inserted column to restore the original arrangement. Next, remove the unused spare column by selecting that entire column. Column deletion affects every row in that column. Check dependent formulae after structural changes because removing referenced cells can produce reference errors.

2:05Individual cells can also be inserted or deleted. Select cell A three and insert one cell with the existing cells shifted downwards. The pen label moves to row five while its quantity stays in row four. The direction of movement matters because a single-cell operation can separate related entries. Delete the inserted cell with the remaining cells shifted upwards to restore the pairing. Merging combines selected adjacent cells into one larger cell.

2:31Merge cells A one and B one so the title sits across the first row. Check first that only the left cell contains text, because the merged cell keeps only that entry. Keep each item's own entries in separate cells, and use merged cells only for titles. A sort or a formula needs one value in each cell.

Formulae and calculation order

2:48A formula is a calculation the user writes, starting with an equals sign. The equals sign tells spreadsheet software to calculate the entry and display its result. A function, in contrast, is a ready-made, named formula that performs a particular calculation, such as SUM. A formula can contain arithmetic, cell references and functions together. Equals B two times C two is a formula with no function in it. For the pens, sales value equals quantity multiplied by unit price.

3:17Enter equals B two times C two in cell D two. Twelve multiplied by two pounds fifty gives thirty pounds. Referencing the input cells makes the result recalculate automatically whenever either input changes. The arithmetic operators cover addition, subtraction, multiplication, division and indices. Addition uses the plus sign to combine amounts, while subtraction uses the minus sign to find a difference. Multiplication uses an asterisk to calculate repeated quantities, and division uses a forward slash to share an amount.

3:48Indices use a caret, so two raised to the power three gives eight. The order of operations determines which calculation happens first. Brackets come first, followed by indices, then multiplication and division, then addition and subtraction. Operations sharing a priority are evaluated from left to right. Brackets make the intended grouping explicit, which is especially important when calculating combined amounts or averages. Suppose twelve standard packs and eight extra packs each need two labels.

4:17Without brackets, twelve plus eight times two evaluates the multiplication first. Eight times two gives sixteen, and adding twelve gives twenty-eight. With brackets around twelve plus eight, the total becomes twenty packs, and multiplication gives forty labels.

Relative, absolute and named references

4:32Replication means copying a formula into other cells. A relative cell reference changes its address when a formula is copied to another position. Our sales formula refers to the two cells immediately to its left. Copying it down keeps those relationships, so each row uses its own quantity and price. Select the original formula and fill it down through row four. In cell D three, the references become B three and C three.

4:56Eight multiplied by four gives thirty-two. The final row multiplies five by three, which gives fifteen. An absolute cell reference keeps the same address when a formula is copied. Dollar signs before both the column letter and row number fix both parts. Put a tax rate of ten per cent in cell H two. Every item needs that same input, so its reference must stay fixed during replication. Enter equals D two times, open bracket, one plus dollar H dollar two, close bracket.

5:23One plus the tax rate gives one point one. Multiplying thirty by one point one gives thirty-three. Copying down changes the sales reference for each row, while the tax reference remains fixed. A named cell is a cell identified by a meaningful name assigned by the user. The same idea applies to a named range, which is a group of cells identified by one assigned name. Give cell H two the name Tax Rate, written as one word.

5:47Give D two to D four the name Sales Values, also written as one word. Names make calculations easier to interpret because they describe what the references represent. Select the intended cells, assign the name, then check the stored reference. A name has no spaces and must not look like a cell address. Our tax formula can now use the name Tax Rate in place of its absolute reference. Check that named references point to the intended fixed cells before copying formulae.

Functions for analysing data

6:13A function receives arguments, which are the values or references supplied inside its brackets. The SUM function adds the sales values and returns seventy-seven. AVERAGE divides their total by the number of numeric entries, which gives twenty-five point six seven to two decimal places. The MAX function returns thirty-two as the largest value. Use MIN to obtain fifteen, the smallest sales value. Each function answers a different question about the same inputs.

6:39In the original model, SUM can also use the named range Sales Values. This produces seventy-seven because that name refers to the same three amounts. The INT function, which gives the integer part, removes everything after the decimal point of a positive number. For seven point eight, its result is seven. Use INT when only whole items count, such as the number of complete boxes that a stock of pens can fill.

7:02The fraction of a box left over is simply dropped. ROUND rounds a number to a specified number of decimal places. With a second argument of zero, seven point eight rounds to the nearest whole number, which is eight. Rounding seven point eight four six to two decimal places gives seven point eight five. Using negative one rounds to the nearest ten, so one hundred and eighty-four becomes one hundred and eighty.

7:23Counting functions include COUNT, COUNT A, COUNT BLANK, COUNT IF and COUNT IFS. COUNT counts cells containing numbers, so our three quantities give three. The COUNT A function counts non-empty cells, which returns three for the item names. COUNT BLANK counts empty cells, so the item range extended through row five gives one. COUNT IF counts cells that meet one condition. Only twelve meets the condition greater than or equal to ten, so the result is one.

7:48With COUNT IFS, several conditions are applied together. Quantities at least five and below ten include eight and five, so that result is two.

Lookups, IF and external data

7:56A lookup function searches stored data and returns a corresponding value. LOOKUP, the V lookup function, the H lookup function and the X lookup function suit different table layouts. Our product table connects each item name with its price. A separate threshold table connects minimum order quantities with discount rates. The vector form of LOOKUP searches one row or column and returns from a corresponding row or column. Keep its search values in ascending order.

8:22For quantity twelve, the largest threshold at or below twelve is ten. LOOKUP therefore returns the corresponding discount of five per cent. The V lookup function searches vertically down the first column of a table. Supply the search value, table range, return column number and match setting. Searching for Pad with return column two gives four pounds. FALSE requests an exact match, which suits an individual product name. The H lookup function searches horizontally across the first row of a table.

8:50Its return number identifies a row within that table. Searching for Pad across our horizontal table and returning row two also gives four pounds. Choose the orientation that matches the arrangement of the source data. The X lookup function uses separate search and return ranges. Search for Pad in the item range and return its price from the matching position. The result is four pounds, and its default match is exact.

9:12Our example also supplies the message Not found for an unsuccessful search. Exact matching suits identifiers, while approximate matching suits ordered thresholds such as discount bands. For approximate matching with the V lookup or H lookup function, sort the search column or row in ascending order. State the intended matching mode explicitly. When copying a lookup formula, fix its table references or use an appropriately defined named range. The IF function returns one result when a condition is true and another when it is false.

9:41Test whether sales are greater than or equal to thirty. A value of thirty returns Target met, because thirty is equal to the target. Any value below thirty, such as fifteen, returns Below target. Text results need quotation marks in the formula so the software recognises them as text. Nested functions place one function inside another function. An IF inside the false branch of another IF can classify three sales bands.

10:06Test for at least thirty first, then at least twenty. Sales of thirty-two return Target met, twenty-five returns Review, and fifteen returns Low. A ROUND around an AVERAGE provides another useful nested calculation. The inner function calculates the mean of thirty, thirty-two and fifteen. The outer function rounds that result to two decimal places. The final calculated value is twenty-five point six seven, so the model can use that rounded amount elsewhere.

10:33An external data source supplies values from outside the current spreadsheet file. A function can use a lookup table in another workbook. Open the supplied price workbook and select its table while constructing the lookup. The formula then contains an external reference identifying the workbook, worksheet and cells. Searching externally for Pad returns four pounds from the supplied price table. Select the range in the open source workbook with the pointer, so the software writes the external reference for you.

11:00Keep the source workbook available and preserve the intended folder arrangement. Check links after moving files because a stored absolute file path can become invalid.

Exam practice and model checks

11:09For Paper One, define a formula and a function for two marks. A formula is a calculation the user writes, starting with an equals sign. A function, however, is a ready-made, named formula that performs a particular calculation. Equals B two plus B three is a formula, while SUM is a function. A two-mark describe question can ask about references when a formula is copied. A relative cell reference changes its address when a formula is copied to another position.

11:35In contrast, an absolute cell reference keeps the same address when a formula is copied. Copied down one row, D two becomes D three, while dollar H dollar two stays the same. For four marks, explain two benefits of cell references instead of fixed values in formulae. An input such as a price can be changed in its own cell. Every formula that refers to that cell then recalculates automatically, so results stay up to date without retyping.

12:00Formulae containing cell references can also be replicated down a column. Each copy adjusts to its own row, which saves time and reduces typing errors. A typical Paper Three task asks you to calculate sales including tax, then replicate the formula downwards. Identify the changing input as the sales value and the fixed input as the tax rate. Enter the formula in cell E two with an absolute tax reference.

12:22Check thirty-three before filling down to the remaining rows. Inspect the copied formulae as well as their displayed results. The sales row changes, and the tax address stays fixed. The completed outputs are thirty-three, thirty-five point two and sixteen point five. Checking both views establishes that the model uses the intended method. The practical papers provide source files and have no internet access. A screenshot is an image captured from all or part of a screen.

12:49Place requested screenshots in the Evidence Document. Include your name, centre number and candidate number on every printout, and check the task instructions for the required evidence. Total accuracy means matching the required content character for character. Copy labels exactly, and ensure complete values and formulae remain visible. Include formulae view when requested so the calculation method is evident. Check external links and candidate identification before producing the final evidence.

13:15The marks most often lost in this task come from a tax reference left relative. Copied down, it points at the empty cells H three and H four, so the pad shows thirty-two instead of thirty-five point two. Typing the answer thirty-three instead of a formula also loses the mark, because the formulae printout shows a number. Marks also go when a formula is not replicated to every row or a lookup uses the wrong column number.

13:37Formulae cut off in a column that is too narrow cannot be credited either. A reliable model connects inputs to outputs through calculations. Relative references preserve positional relationships during copying, while absolute references preserve fixed addresses. Functions provide established calculations, and nesting combines their jobs. Names make those connections easier to understand, while lookup functions retrieve values from organised tables. Brackets express the intended calculation order, and checking intermediate results confirms the logic.

14:08Alter an input and verify that dependent outputs respond correctly. This is the foundation of a model that answers changing situations consistently. Wider modelling applications are developed in the video on modelling applications.