SKILL PATH · SPREADSHEETS

Formula Grid

Write real spreadsheet formulas on a live sheet. The same formulas work in Excel and Google Sheets.

THE SHEET

Twelve Orders, Six Columns

A small sales sheet, laid out with the same column letters and row numbers you would see in Excel.

ABCDEF
1DateRegionProductRepUnitsValue
22026-03-02NorthPro planAna2480
32026-03-03SouthStarterBen160
42026-03-05NorthAdd-onAna3135
52026-03-08EastPro planCara1240
62026-03-11SouthPro planBen2480
72026-03-14NorthStarterAna160
82026-03-18WestAdd-onDev4180
92026-03-21EastPro planCara2480
102026-03-24SouthAdd-onBen145
112026-03-27WestPro planDev1240
122026-03-29NorthPro planAna2480

This runs a teaching subset of spreadsheet formulas in your browser: SUM, AVERAGE, COUNT, COUNTA, MIN, MAX, ROUND, ABS, IF, AND, OR, COUNTIF, SUMIF, SUMIFS, COUNTIFS, AVERAGEIF, VLOOKUP, XLOOKUP, LEFT, RIGHT, LEN, UPPER, LOWER, TRIM and CONCAT. Nothing is sent anywhere, and your work is saved on this device.

SIX EXERCISES

Write, Run, Check

Each exercise teaches the formula first, then gives you a task to write yourself. Unlimited attempts, a hint whenever you want one, and the worked solution after three tries.

0 of 6 exercises solved

1

Exercise 1 of 6

Add up a column

Not attempted

Why this matters: Adding a column is the first thing anyone does with a spreadsheet, and the pattern behind every other formula.

First, the formula: SUM and AVERAGE

A formula always starts with an equals sign. SUM adds a range of cells; AVERAGE gives the mean of the same range. A range is written as the first cell, a colon, then the last cell.

The pattern

=SUM(F2:F13)
=AVERAGE(F2:F13)

A worked example

=SUM(E2:E13)

Adds every value in the Units column. Change E to F and you have total revenue instead.

Your task

Finance wants the total revenue for March. Add up every value in the Value column.

fx
2

Exercise 2 of 6

Count rows that match

Not attempted

Why this matters: Counting matching rows answers most of the questions people ask of a small dataset.

First, the formula: COUNTIF

COUNTIF counts the cells in a range that match one condition. Text conditions go in double quotes; numbers do not. You can also use comparisons such as ">200".

The pattern

=COUNTIF(range, condition)

A worked example

=COUNTIF(C2:C13,"Starter")

Counts how many rows sold the Starter product. Try ">200" against the Value column.

Your task

How many orders were for the Pro plan? Count the rows where the product is Pro plan.

fx
3

Exercise 3 of 6

Add up only some rows

Not attempted

Why this matters: This is the formula that turns a flat list into a report.

First, the formula: SUMIF

SUMIF adds up one range, but only the rows where another range matches your condition. The order is: where to look, what to look for, what to add.

The pattern

=SUMIF(look_in, condition, add_up)

A worked example

=SUMIF(D2:D13,"Ana",E2:E13)

Adds the units sold by Ana. Swap the last range for F2:F13 and you get her revenue.

Your task

The North manager wants their revenue. Add up the Value column, but only for rows in the North region.

fx
4

Exercise 4 of 6

Two conditions at once

Not attempted

Why this matters: Real questions usually have more than one condition, which is where SUMIF runs out.

First, the formula: SUMIFS and COUNTIFS

SUMIFS handles more than one condition. This time the range to add comes first, then pairs of range and condition. COUNTIFS works the same way but counts instead.

The pattern

=SUMIFS(add_up, range1, cond1, range2, cond2)

A worked example

=SUMIFS(F2:F13,B2:B13,"North",C2:C13,"Pro plan")

Revenue from Pro plan sales in the North only. Note the add-up range moves to the front.

Your task

How much Pro plan revenue came from the South? Add the Value column where region is South and product is Pro plan.

fx
5

Exercise 5 of 6

Look something up

Not attempted

Why this matters: Looking a value up beats scrolling, and it keeps working when the data changes.

First, the formula: XLOOKUP

XLOOKUP finds a value in one column and returns the matching value from another. Three parts: what to find, where to look, what to return.

The pattern

=XLOOKUP(find, look_in, return_from)

A worked example

=XLOOKUP("Cara",D2:D13,F2:F13)

Returns the first sale by Cara. It stops at the first match, so it suits unique keys.

Your task

What did Dev's first sale bring in? Find Dev in the Rep column and return the matching value.

fx
6

Exercise 6 of 6

Answer a business question

Not attempted

Why this matters: A number on its own rarely answers the question. A test turns it into a decision.

First, the formula: IF and ROUND

IF tests something and returns one of two answers. ROUND cuts a number to a set number of decimal places. Both are often wrapped around another formula.

The pattern

=IF(test, "yes answer", "no answer")
=ROUND(number, places)

A worked example

=IF(SUM(F2:F13)>2000,"Above target","Below target")

Checks total revenue against a target. ROUND(AVERAGE(F2:F13),0) gives a clean average.

Your task

March target was £2,500. Return "Above target" if total revenue beat it, and "Below target" if not.

fx

Build Your Confidence with Data

The formula grid is the practice block behind every spreadsheet lesson on Insyt.