How do I use built-in functions such as SUM, AVERAGE, MAX, MIN, COUNT and IF to calculate quickly in a spreadsheet?
Use common built-in functions, including SUM, AVERAGE, MAX, MIN, COUNT and IF, with cell ranges to summarise and test data
A step-by-step answer to the N-Level Computer Applications outcome on spreadsheet functions: SUM, AVERAGE, MAX, MIN, COUNT and IF, using cell ranges to total, average and test data quickly.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
This outcome is about using built-in functions, which are ready-made calculations the spreadsheet provides. You should be able to use SUM, AVERAGE, MAX, MIN and COUNT on a range of cells, and use IF to display one of two results depending on a test. You should also know why functions are better than long manual formulas and how to write a cell range. In the written paper you write functions and explain what they do; in the practical you apply them to real data.
The answer
What a function is
A function is a named, built-in calculation. You give it some inputs, called arguments, usually a range of cells, and it returns a result. A function still starts with an equals sign, then the function name, then brackets holding the arguments, for example =SUM(B2:B11).
Cell ranges
A range is a block of cells written as the first cell, a colon, then the last cell. B2:B11 means all cells from B2 down to B11. Using a range lets one function work on many cells at once, instead of listing each cell.
The summary functions
- SUM adds all the numbers in the range, for example
=SUM(B2:B11)totals ten scores. - AVERAGE finds the mean (the total divided by how many), for example
=AVERAGE(B2:B11). - MAX returns the largest value, for example
=MAX(B2:B11). - MIN returns the smallest value, for example
=MIN(B2:B11). - COUNT counts how many cells in the range hold a number, for example
=COUNT(B2:B11)returns 10 if all ten cells have a score.
Why functions beat manual formulas
- Faster. One short function replaces a long chain such as
=B2+B3+B4+B5. - Fewer mistakes. A long manual sum is easy to mistype or to miss a cell.
- Updates automatically. Add a row inside the range or change a value, and the result recalculates.
The IF function
IF makes a decision. It has three parts: a test, the value to show if the test is true, and the value to show if it is false. For example =IF(B2>=50, "Pass", "Fail") checks whether B2 is at least 50; if so it shows "Pass", otherwise "Fail". The comparison operators are useful here: greater than, less than, and greater than or equal to. Text results go in quotation marks.
Examples in context
Example 1. A sales summary. A shop keeps daily sales in a column and uses =SUM(...) for the week's total, =AVERAGE(...) for the daily average, and =MAX(...) to spot the best day. Because the figures live in functions, the summary updates the moment a day's sales are entered.
Example 2. Stock reorder flags. A store uses =IF(B2<10, "Reorder", "OK") so column C shows "Reorder" whenever the stock in column B drops below ten. Copied down the list, it flags every low item at a glance without checking each number by hand.
Try this
Cue. Write a function to find the average of the values in cells D2 to D20. (
=AVERAGE(D2:D20), where the colon makes D2:D20 a range covering all those cells.)Cue. Explain the three parts of the IF function in order. (First the test or condition, then the value to show if it is true, then the value to show if it is false.)
Cue. Give two reasons to use SUM rather than adding the cells one by one. (It is faster as one short formula and less error-prone than a long chain, and it updates automatically if a value changes or a row is added inside the range.)
Exam-style practice questions
Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Original4 marksA spreadsheet has ten test scores in cells B2 to B11. Write functions to find the total, the average, the highest and the lowest score, and explain why a function is better than adding the cells one by one.Show worked answer →
The four functions:
- Total:
=SUM(B2:B11) - Average:
=AVERAGE(B2:B11) - Highest:
=MAX(B2:B11) - Lowest:
=MIN(B2:B11)
A function is better because it works on a whole range in one short formula, it is less likely to contain a typing mistake than a long chain of additions, and it updates automatically if a score changes or a row is added inside the range.
What markers reward: correct function names with the range B2:B11, and a sensible reason such as speed, fewer errors, or automatic updating.
Original4 marksA teacher wants column C to show 'Pass' if the score in column B is at least 50, and 'Fail' otherwise. Write a suitable IF function for cell C2 and explain how it decides what to display.Show worked answer →
A suitable function for C2 is:
=IF(B2>=50, "Pass", "Fail")
The IF function tests a condition first. Here it checks whether B2 is greater than or equal to 50. If the test is true it shows the first result, "Pass"; if the test is false it shows the second result, "Fail". Copying it down column C tests each student's own score.
What markers reward: the correct three parts of IF (the test, the value if true, the value if false), the condition written correctly, and an explanation that it displays one of two results depending on the test.
Related dot points
- Enter data into a spreadsheet and apply cell formatting, including number, currency, percentage and date formats, borders and column width, to present data clearly
A step-by-step answer to the N-Level Computer Applications outcome on entering and formatting spreadsheet data: cells, rows and columns, number, currency, percentage and date formats, borders and column width.
- Write formulas using cell references and arithmetic operators, and choose between relative and absolute references so formulas copy correctly
A step-by-step answer to the N-Level Computer Applications outcome on spreadsheet formulas: arithmetic operators, cell references, and choosing relative versus absolute references so a formula copies correctly.
- Sort data by one or more columns and apply filters to display only rows meeting chosen criteria, keeping rows of data together
A step-by-step answer to the N-Level Computer Applications outcome on sorting and filtering spreadsheet data: ordering by one or more columns and filtering to show only rows that meet chosen criteria.
- Create charts from spreadsheet data, choose a suitable chart type, and label the chart with a title, axis labels and a legend
A step-by-step answer to the N-Level Computer Applications outcome on charts: selecting data, choosing a suitable chart type (column, line or pie), and adding a title, axis labels and a legend.
- Create a slideshow with a clear structure, add and order slides, and write concise slide text that supports the spoken message
A step-by-step answer to the N-Level Computer Applications outcome on building a slideshow: structure, adding and reordering slides, and writing concise, readable slide text that supports the speaker.