Organise, calculate, clean, summarise and chart data: the everyday skills behind almost every office job. Every lesson has live sheets you can click and formulas you can type, checked by a real formula engine. Works with Excel, Google Sheets and LibreOffice Calc.
Formulas use commas between arguments; some language versions of these programs use semicolons. Facts checked November 2026.
Sheet1fx=PART(1)
Part 1 of 7 · sheet "Sheet1"
Tables and tidy data
Spreadsheets reward good structure. Before any formula, set the data out so that every row is one thing and every column is one fact about it. Get this right and sorting, filtering, formulas, pivot tables and charts all just work.
Formulas turn a grid into a calculator that updates itself. This sheet covers the four things that make formulas work: how references move when you copy them, the order a calculation happens in, the everyday functions, and IF for decisions.
Find a product's price from its code, a customer's region from their ID, a tax rate from an income band. Lookups join two tables together, and they're the skill that most separates confident spreadsheet users from beginners. The old way has a trap; the newer ways avoid it.
Real data arrives messy: extra spaces, mixed capitals, dates in three formats, duplicates, typos. Analysts often say most of their time goes on cleaning. Clean first, or every total, chart and decision built on the data is quietly wrong.
Thousands of rows only become useful when they're boiled down to a few numbers: totals by region, counts by status, averages by month. This sheet covers the three ways to do that: sorting and filtering, conditional formulas, and pivot tables.
The right chart makes a pattern obvious in a second; the wrong one hides it, or tells a story the data doesn't support. Choose the chart by the question you're answering, then strip it down until it says one thing clearly.
The last step is to put the key numbers on one screen, share them safely, and recognise when a spreadsheet has become the wrong tool for the job. Facts checked November 2026.
1.1fx=LESSON("Rows are records, columns are fields")
Sheet "Sheet1" · Tables and tidy data
Rows are records, columns are fields
One row per thing, one column per fact about it, and one header row on top.
The task
Your manager hands you a stack of order slips and says "put these in a spreadsheet so we can see who buys what". You could type them in any old way, but the layout you choose now decides whether the sheet is useful later. There's one layout that works for almost everything.
On the sheet
Row 3 (highlighted) is one record: one order. Each column is one field. Click any cell to see its address.
A spreadsheet is a grid of cells. Columns are labelled with letters (A, B, C… then AA, AB…), rows with numbers. A cell's address is its column letter followed by its row number: the customer "Liu" above is in B3.
A range is a rectangle of cells, written first-cell:last-cell. B2:B5 is the four customer names; A1:E5 is the whole table.
For data, use the simplest shape:
One header row with a short, clear name for each column.
Each row is one record: one order, one customer, one day.
Each column is one field: one kind of fact, the same type all the way down.
No blank rows or columns inside the table.
How to do it
Type the headers in row 1Short names: Date, Customer, Item, Qty, Price
Enter one record per row, starting in row 2Don't leave gaps
Freeze the header rowExcel: View → Freeze Panes → Freeze Top Row. Sheets: View → Freeze → 1 row. LibreOffice: View → Freeze Cells → Freeze First Row
Turn it into a table (optional)Excel: Ctrl+T. Sheets: Format → Convert to table. LibreOffice: Data → Define Range
Name the sheetDouble-click the tab at the bottom: "Orders"
Why it works
Every spreadsheet tool (sort, filter, pivot tables, charts, lookups) expects exactly this shape. When each row is one record, sorting keeps each record's facts together. When each column holds one kind of fact, a formula like "total quantity" just adds up one column.
In real work
Sales logs, timesheets, stock lists, contact lists, survey answers: all of them work best as one row per record.
Keep a separate notes sheet for explanations, not comments squeezed into the data.
Your turn
In D2, write a formula that shows the price of Tea by referring to its cell.
Point at the cell that holds Tea's price.
In D3, work out Rice's line total (Qty × Price).
Multiply the two cells in row 3.
1.2fx=LESSON("Data types in cells")
Sheet "Sheet1" · Tables and tidy data
Data types in cells
Numbers, text, dates and TRUE/FALSE behave differently. A number stored as text quietly breaks your totals.
The task
The total at the bottom of a column says 330, but when you add the numbers up yourself you get 450. No error, no warning. The culprit is almost always the same: one of the "numbers" is really text, and SUM skips it without telling you.
On the sheet
B4 looks like 120 but was imported as text, so SUM ignores it: the total shows 330 instead of 450. Text sits on the left of the cell; numbers sit on the right.
Every cell holds one type of value:
Numbers: can be added and averaged. Right-aligned by default.
Text: names, codes, notes. Left-aligned by default. A code like 00123 must be text, or the leading zeros vanish.
Dates and times: stored as numbers underneath (days since a starting date), but shown as dates. That's why you can subtract one date from another to get the number of days between them.
TRUE / FALSE: the result of a comparison like =B2>100.
Formulas: start with = and show their result.
How to do it
Spot numbers stored as text:
Look at the alignmentNumbers on the left of the cell are suspicious
Look for warning marksExcel shows a small green triangle in the corner
Count them=COUNT(B2:B5) counts numbers only; =COUNTA(B2:B5) counts every filled cell. If they differ, some "numbers" are text
Check one cell=ISNUMBER(B4) gives FALSE for text
Fix them:
Select the cells
Use Data → Split text to columns, or multiply by 1In a helper column: =VALUE(B4) or =B4*1
Paste the result back as valuesEdit → Paste special → Values only
Why it works
Spreadsheets decide a cell's type when you type or import it. Things that turn numbers into text include a leading apostrophe ('120), a stray space, a currency symbol typed as text, or numbers pasted from a web page or PDF. SUM and AVERAGE deliberately skip text, which is helpful for headings but dangerous for broken numbers.
Your turn
In B2, count how many real numbers are in A2:A4.
COUNT only counts real numbers.
In B3, count how many cells in A2:A4 are filled.
COUNTA counts every filled cell.
1.3fx=LESSON("Tidy vs messy layouts")
Sheet "Sheet1" · Tables and tidy data
Tidy vs messy layouts
Merged cells, totals mixed into the data and one column per month make a sheet hard to sort, filter and summarise.
The task
A colleague's sales sheet has one column per month, a merged "North" cell spanning three rows, and subtotal rows scattered through it. It looks neat when printed. But when you're asked "total sales of pens in March, by region", nothing works: sorting breaks the subtotals and the pivot table refuses the merged cells. You need to tidy it.
On the sheet
Messy ("wide"): one column per month. Adding April means a new column; "total by month" needs a different formula per column.
Tidy ("long"): one row per region, product and month. April just adds rows; any total is one formula or one pivot table.
How to do it
Common messy patterns, and the tidy fix:
Messy
Tidy fix
One column per month or year
One "Month" column and one "Sales" column
Merged cells for groups
Repeat the group name on every row
Subtotal rows in the middle of data
Keep the data pure; calculate totals separately
Two facts in one cell ("Delhi – 12 units")
Split into two columns
Colour as the only record of status
Add a "Status" column
Notes typed into number cells ("approx 40")
Number in one column, note in another
Unmerging: select the merged cells → Format → Merge cells → Unmerge (all three programs), then fill the blanks with the group name (copy down).
Why it works
Tidy data has one place for each kind of fact. That means one formula works for every row, a new month never needs a new column, and every tool can read it. A tidy table is longer and plainer, but you can always build the pretty, wide summary from it with a pivot table (Part 5). You can't easily go the other way.
In real work
Collect it tidy from the start. If you design the sheet or form people type into, give each fact its own column (Date, Region, Product, Sales) and add one row per event. Reshaping later always takes longer than collecting tidy data in the first place.
Wide is fine for the final report. Many managers like months across the top. Keep the tidy table as the source and build the wide view from it with a pivot table (Part 5), so numbers are typed in only one place.
Reshaping thousands of rows. Excel's Power Query has an Unpivot Columns command that does this in one step. In Google Sheets and LibreOffice it usually takes a few helper formulas, so it is worth getting the layout right early.
Your turn
In E2, total all the sales in the tidy table.
SUM the Sales column.
In E3, total January's sales only (a preview of Part 5).
SUMIF(where to look, what to match, what to add).
1.4fx=LESSON("Checkpoint: tables")
Sheet "Sheet1" · Tables and tidy data
Checkpoint: tables
Write formulas in the live cell to show you can read a tidy table.
2.1fx=LESSON("References and copying")
Sheet "Formulas" · Formulas
References and copying
Copy a formula and its cell references move with it, unless you lock them with $.
The task
You have 200 order lines and need a "total with tax" for each, using one tax rate typed in a single cell. You write the formula once, in the first row, and copy it down. If you get the references right, all 200 rows are correct instantly. If you don't, every row but the first is wrong, often without any error message.
On the sheet
Formulas shown. B and C change on each row (relative); $E$2 is locked (absolute), so every row uses the same tax rate. Click "Show values" to see the results.
When you copy a formula, the program doesn't copy the addresses literally. It copies the directions. =B2*C2 in D2 really means "two cells to my left times one cell to my left". Paste it into D3 and it becomes =B3*C3. These are relative references.
A $ sign locks part of a reference so it doesn't move:
Reference
When copied down
When copied across
E2
becomes E3, E4…
becomes F2, G2…
$E$2
stays E2
stays E2
$E2
becomes E3, E4…
stays column E
E$2
stays row 2
becomes F2, G2…
How to do it
Write the formula in the first row=B2*C2*(1+E2)
Lock the single inputClick on E2 in the formula bar and press F4 (Windows) or Cmd+T (Excel on Mac) to make it $E$2
Copy downDouble-click the small square at the bottom-right of the cell (the fill handle), or select D2:D201 and press Ctrl+D
Check a middle rowClick D57: it should say =B57*C57*(1+$E$2)
Why it works
Most formulas in a table do the same thing on every row, so relative references are the right default. Only single inputs (a rate, a target, a conversion factor) need locking. Keeping such inputs in their own labelled cell, instead of typing 1.1 into every formula, means you can change the rate once and every row updates.
Your turn
In D3, write Rice's total with tax, locking the rate cell.
Rice's total is Price × Qty × (1 + rate). The rate is in E2 for every row.
In F2, show the tax multiplier (1 + rate).
The multiplier for a 10% rise is 1 + the rate.
2.2fx=LESSON("Arithmetic and order")
Sheet "Formulas" · Formulas
Arithmetic and order
Brackets first, then powers, then × and ÷, then + and −. Most formula mistakes are a missing bracket.
The task
You need the price after a 15% discount: price × (1 − 15%). Someone types =B2*1-C2 and gets nonsense. Spreadsheets follow the same order of operations as school maths (Maths You Need, lesson 1.4), and brackets are how you take control of it.
On the sheet
Without brackets, A2*1 happens first and then 0.15 is subtracted: 79.85. With brackets, 1 − 0.15 = 0.85 happens first: 68.
Operators:
Symbol
Meaning
Example
+ −
add, subtract
=A2+B2
*
multiply
=A2*B2
/
divide
=A2/B2
^
power
=A2^2
&
join text
=A2&" "&B2
= < > <= >= <>
compare (TRUE/FALSE)
=A2>=100
Order: brackets → ^ → * and / → + and −, each pair worked left to right.
How to do it
Write the calculation in words first"price times (one minus the discount)"
Put brackets around anything that must happen first(1-B2)
Check with numbers you can do in your head80 with 15% off should be 68
Use cells, not typed numbers=A2*(1-B2), not =80*0.85
Percentages: 15% typed into a cell is stored as 0.15. So =A2*B2 gives the discount amount and =A2*(1-B2) gives the price after it.
Percentage change: =(new-old)/old, then format as a percentage.
Why it works
Without brackets, × and ÷ always win over + and −. That's helpful when you write =A2+B2*C2 meaning "A2 plus the B×C product", but it bites when you want the addition first. Brackets cost nothing, so use them whenever the order matters.
In real work
Put rates in their own cells. Type a tax rate or discount once in a labelled cell and refer to it ($F$1) instead of writing 0.2 inside every formula. When the rate changes, you change one cell, and anyone reading the sheet can see the assumption.
Round at the end, not on the way. Rounding each line before adding can make a total drift a little from the true figure. Keep full precision in the working and use ROUND only for the amount you display or invoice.
Sense-check with a rough estimate. Before trusting 2,431.75, ask: about 20 items at about 120 each is about 2,400, so it's in range. A result ten or a hundred times too big usually means a percentage typed as 20 instead of 20%.
Your turn
In C2, work out the percentage change from Old to New (as a decimal).
Change divided by the original.
In D2, show the New price after a 20% discount.
Price × (1 − 0.2).
2.3fx=LESSON("SUM, AVERAGE, MIN, MAX and friends")
Sheet "Formulas" · Formulas
SUM, AVERAGE, MIN, MAX and friends
The functions you'll use every day, applied to a range like B2:B10.
The task
A month of daily sales sits in column B. Your manager wants five numbers at the top of the sheet: the total, the daily average, the best and worst day, and how many days had sales recorded. Each is a single short function.
On the sheet
Wednesday is blank (the shop was closed). AVERAGE and COUNT skip blank cells, so the average is over 5 days, not 6.
Function
Gives
Notes
=SUM(B2:B7)
total
skips text and blanks
=AVERAGE(B2:B7)
mean
skips text and blanks (but counts zeros!)
=MIN / =MAX
smallest / largest
=COUNT(B2:B7)
how many numbers
=COUNTA(B2:B7)
how many filled cells
numbers and text
=MEDIAN(B2:B7)
middle value
better than average for skewed data
=ROUND(x, 2)
x to 2 decimal places
ROUND(x, 0) for whole numbers
How to do it
Click where the answer should go
Type =SUM(The program suggests the function as you type
Drag across the range, or type B2:B7Selecting whole columns (B:B) also works and picks up new rows
Close the bracket and press Enter
Use AutoSum for speedAlt+= (Windows Excel and Sheets) sums the numbers above
Why it works
A function is a named formula someone has already written. You give it arguments in brackets, separated by commas: a range, a number, or another formula. Because functions skip text, you can include a header row in the range without breaking the result, which is handy, but it also hides numbers stored as text (lesson 1.2).
In real work
Watch what the range covers. =SUM(B2:B10) stops at row 10, so a new row added below it is silently left out. Insert new rows above the total row, or turn the data into a table (Insert → Table in Excel, Format → Convert to table in Google Sheets) so ranges grow by themselves.
Blank and zero are different. AVERAGE skips blank cells but counts zeros. Decide whether a missing week means "no sales" (type 0) or "not known yet" (leave it blank), because the two give different averages.
Quick check without a formula. Select some cells and look at the status bar at the bottom of the window: all three programs show the sum, average and count of the selection.
Your turn
In C2, total the sales.
Add the whole column.
In C3, find the average daily sales.
AVERAGE of the range.
In C4, find the gap between the best and worst day.
MAX minus MIN.
2.4fx=LESSON("IF and nested logic")
Sheet "Formulas" · Formulas
IF and nested logic
Make a cell decide: if this is true, show that; otherwise show something else.
The task
A sheet of invoices needs a "Status" column: "Overdue" if the due date has passed and it isn't paid, "Paid" if it's paid, otherwise "Open". A bonus sheet needs "Gold", "Silver" or "None" depending on sales bands. Both are decisions, and decisions in a spreadsheet are written with IF.
On the sheet
IF(test, value if true, value if false). The Band column nests one IF inside another to make three bands.
=IF(test, value_if_true, value_if_false)
Test: any comparison that gives TRUE or FALSE: B2>=50, C2="Paid", D2<TODAY().
Values: numbers, text in "double quotes", other cells, or formulas.
Combining tests:
=IF(AND(B2>=50, C2="Yes"), "OK", "Check"): both must be true.
=IF(OR(B2>=90, C2="Star"), "Award", ""): either is enough.
Nested IF for bands: test the highest band first.
Is it 80 or more? → "A"=IF(B2>=80,"A", …
Otherwise, is it 60 or more? → "B"… IF(B2>=60,"B", …
Otherwise → "C"… "C"))
How to do it
Write the rule in words"If score is at least 50, Pass, else Retry"
Turn the condition into a comparisonB2>=50
Put text results in quotes"Pass", "Retry"
Copy down and check one of each outcomeA pass, a fail, and one exactly on 50
Why it works
IF evaluates the test first. If it's TRUE it returns the second argument and ignores the third, and the other way round if FALSE. Nesting works because the "value if false" can itself be another IF, so the formula checks each band in turn and stops at the first one that fits.
In real work
Keep thresholds in cells. =IF(B2>=$F$1,"Bonus","No") lets someone change the target from 500 to 600 without editing a single formula.
Long IF chains become lookup tables. Four or more nested IFs (grade bands, tax bands, shipping tiers) are hard to read and easy to break. A small band table with an approximate-match lookup (lesson 3.4) does the same job, and anyone can update a band by changing one cell.
Test the edges. Try values exactly on each boundary (500 and 499.99) and an empty cell. Most IF mistakes are a > that should have been >=.
Your turn
In D3, show "Paid" if C3 is Yes, otherwise "Unpaid".
Test whether C3 is "Yes".
In D2, show a 10% discount (as an amount) if B2 is over 300, otherwise 0.
IF the amount is over 300, take 10% of it, otherwise 0.
2.5fx=LESSON("Checkpoint: formulas")
Sheet "Formulas" · Formulas
Checkpoint: formulas
Write formulas with references, order of operations, functions and IF.
3.1fx=LESSON("VLOOKUP and its trap")
Sheet "Lookups" · Looking things up
VLOOKUP and its trap
VLOOKUP finds a value in the first column of a table and returns a value from the same row. Always finish it with FALSE.
The task
Your orders sheet has only product codes. The prices live in a separate product list. You need each order's price without typing it in by hand. This is what VLOOKUP ("vertical lookup") was made for, and it's in almost every spreadsheet you'll ever open.
On the sheet
VLOOKUP looks for P-102 down the first column (A), finds it on row 3, and returns the 3rd column of that row: 6.
=VLOOKUP(what, table, column_number, FALSE)
what: the value to find (P-102, or a cell holding it).
table: the range with the lookup values in its first column.
column_number: which column of that range to return, counting from 1.
FALSE: exact match only.
How to do it
Click the cell for the answer
Type =VLOOKUP(E2,The code you're looking for
Select the product table: A2:C5Press F4 to lock it: $A$2:$C$5, so it doesn't slide when copied
Type the column number: 3Price is the 3rd column of A:C
Finish with FALSE)Or 0, which means the same
Copy down to every order
Why it works
VLOOKUP walks down the first column until it finds a match, then moves across that row by the column number. With FALSE, it either finds the exact value or returns #N/A, which honestly tells you the code doesn't exist.
The trap: if you leave out FALSE, VLOOKUP uses approximate match. It assumes the first column is sorted and jumps around using that assumption. On an unsorted list of codes it can return the wrong row with no error at all.
In real work
Clean the keys first. "P-102 " with a trailing space won't match "P-102". If a lookup returns #N/A for a code you can plainly see, compare the two with LEN and use TRIM on both sides (lesson 4.2).
Handle "not found" on purpose. =IFERROR(VLOOKUP(E2,$A$2:$C$5,3,FALSE),"Not found") shows a clear message instead of #N/A. Add it only after you understand why codes go missing, because IFERROR also hides real mistakes such as a wrong range.
Inserted columns break the number. If someone inserts a column inside the table, column 3 is now a different column and every VLOOKUP quietly returns the wrong field. XLOOKUP and INDEX/MATCH (next lessons) don't have this problem.
Your turn
In E2, use VLOOKUP to find the price of P-103.
=VLOOKUP("P-103", table, 3, FALSE)
In E3, use VLOOKUP to find the name for code P-102.
The name is column 2 of the table.
3.2fx=LESSON("XLOOKUP")
Sheet "Lookups" · Looking things up
XLOOKUP
The modern lookup: exact by default, looks in any direction, and lets you say what to show if nothing's found.
The task
Same job, fewer traps. Your product list now has the name in column A and the code in column B: VLOOKUP can't look left to return the name from a code. And you'd rather see "Not found" than #N/A when a code is mistyped. XLOOKUP handles both.
On the sheet
XLOOKUP searches the Code column and returns from the Name column, which is to its left. A missing code shows "Not found" instead of an error.
return_range: the single column to return from, which can be anywhere.
if_not_found (optional): what to show when there's no match.
It matches exactly by default, so the VLOOKUP trap is gone.
How to do it
Type =XLOOKUP(E2,What to find
Select the column to search: B2:B5Lock with $ if you'll copy it
Select the column to return: A2:A5Same size as the search column
Add "Not found")Optional, but friendlier than #N/A
Why it works
Because you point at the return column directly instead of counting columns, inserting columns can't break it, and the return column can sit on either side of the lookup column.
In real work
Check who will open the file. XLOOKUP works in Excel 2021 and Microsoft 365, Google Sheets and LibreOffice 24.8 or later. Someone on Excel 2016 sees #NAME?. If you can't be sure, INDEX/MATCH (next lesson) works everywhere.
Return several columns at once. =XLOOKUP(E2,B2:B5,C2:D5) returns price and stock side by side, because the answer spills into the next cell. Keep the cells to the right empty, or you get a #SPILL! (Excel) or #REF! (Google Sheets) error.
Find the latest entry. The sixth argument, search mode −1, searches from the bottom up, which gives the most recent price in a log where new rows are added at the end.
Your turn
In E2, use XLOOKUP to find the name for P-103.
Search the Code column, return the Name column.
In E3, look up code P-200, showing "Not found" if it's missing.
Add a fourth argument for missing codes.
3.3fx=LESSON("INDEX and MATCH")
Sheet "Lookups" · Looking things up
INDEX and MATCH
Two simple functions that together do any lookup, in every spreadsheet program ever made.
The task
Your file goes to a client who uses an old version of Excel, and to a colleague on LibreOffice 7. You need a lookup that can look left, survives inserted columns and works everywhere. The answer has been the professionals' favourite for decades: INDEX with MATCH.
On the sheet
MATCH finds P-102 at position 2 of the code column. INDEX takes item 2 of any column. Combined: the price, 6.
=MATCH(what, range, 0) returns the position of a value in a single column or row. The 0 means exact match.
Write the MATCH part first and check it=MATCH(E2,B2:B5,0) should give a sensible row number
Wrap it in INDEX=INDEX(C2:C5, MATCH(E2,B2:B5,0))
Make sure both ranges start on the same row and are the same sizeC2:C5 and B2:B5
Lock the ranges with $ before copying
Why it works
Splitting "where is it?" (MATCH) from "fetch it" (INDEX) means the return column can be anywhere, and no column number gets out of date. It's the same idea as XLOOKUP, built from older parts.
In real work
Two-way lookups. INDEX can take a row number and a column number: =INDEX(B2:E5, MATCH("Coffee",A2:A5,0), MATCH("Stock",B1:E1,0)) finds the cell where a row label and a column heading meet. This is how price grids and rate tables are read.
Lock both ranges with $ before copying down, just as with VLOOKUP.
When to choose it. Use INDEX/MATCH when the file must work in older Excel, or when columns may be inserted later: MATCH finds the column again by its heading instead of trusting a fixed number.
Your turn
In E2, find the position of P-104 in the code column.
=MATCH("P-104", B2:B5, 0)
In E3, use INDEX and MATCH to get the name for P-103.
INDEX the Name column at the MATCH position of P-103.
3.4fx=LESSON("Lookup tables for prices, codes and bands")
Sheet "Lookups" · Looking things up
Lookup tables for prices, codes and bands
Keep reference data in one small table and look it up everywhere else. Approximate match is right for sorted bands.
The task
Shipping costs depend on weight: up to 1 kg costs 5, 1–5 kg costs 9, 5–20 kg costs 15, over 20 kg costs 30. A discount depends on order size. You could write a long nested IF, but there's a cleaner way: a small band table, looked up with approximate match on purpose.
On the sheet
The band table lists each band's starting weight, sorted smallest first. With TRUE (approximate), 3.4 kg finds the last band that starts at or below it: "from 1 kg", so 9.
Two kinds of reference table:
Code tables (products, staff, branches): one row per exact code. Always look up with exact match.
Band tables (shipping by weight, tax by income, discount by quantity): one row per band, with the band's lower limit in the first column, sorted smallest to largest. Look up with approximate match (TRUE, or 1 in MATCH).
How to do it
Put reference data on its own sheetName the sheet "Lists" or "Rates"
For bands, list each band's starting value0, 1, 5, 20, sorted ascending
Look up with TRUE=VLOOKUP(weight, $A$2:$B$5, 2, TRUE)
Test the edgesExactly 1 kg, 0.99 kg, 20 kg, a huge value
Why it works
Approximate match finds the largest value that is less than or equal to what you're looking for. In a sorted list of band starts, that's exactly "which band does this fall in?". It's the one place where the VLOOKUP "trap" is the right tool, because the table is sorted.
In real work
Product catalogues, staff lists, branch codes, currency rates: one table each, looked up everywhere.
Tax and commission bands, shipping rates, grade boundaries, discount tiers: band tables.
One table, one owner. A rate table copied into five workbooks soon holds five different prices. Keep it on one sheet, give the range a name (Excel: Formulas → Define Name; Google Sheets: Data → Named ranges; LibreOffice: Sheet → Named Ranges and Expressions → Define) and point every lookup at the name.
Your turn
In D2, find the discount rate for an order of 750.
Approximate VLOOKUP of 750 in the band table.
In D3, find the discount rate for an order of exactly 1,000.
Same method for 1,000 exactly.
3.5fx=LESSON("Checkpoint: lookups")
Sheet "Lookups" · Looking things up
Checkpoint: lookups
Write lookups with VLOOKUP, XLOOKUP, INDEX/MATCH and band tables.
4.1fx=LESSON("Spotting errors")
Sheet "Clean" · Cleaning data
Spotting errors
Sort, filter and count to find the problems before they find you.
The task
You've been sent a customer list exported from an old system: 2,000 rows. Before using it, you need to know what's wrong with it. Reading every row isn't possible. A few quick checks find most problems in minutes.
On the sheet
Problems a quick check reveals: "lagos" and "Lagos " (with a trailing space) are different cities to a computer, an age of −3 and of 230, a missing name and a blank spend.
How to do it
Keep the original untouchedCopy the sheet and clean the copy, so you can always go back
Sort each column both waysOdd values float to the top or bottom: negative ages, a year of 1900, "N/A" in a number column
Filter a column to see its unique valuesThe filter list shows "Lagos", "lagos" and "Lagos " as three separate entries
Count=COUNTA(A2:A2001) vs =COUNT(C2:C2001) reveals text hiding in number columns
Look for blanks=COUNTBLANK(D2:D2001)
Check ranges with MIN and MAXAn age column with MIN −3 and MAX 230 needs attention
Why it works
Errors are usually rare, so they hide in the middle of thousands of good rows. Sorting pushes extreme values to the edges, filtering lists every distinct spelling, and counting compares what you expect with what's there. Together they find the problem rows without reading everything.
In real work
Write down what you changed, in a notes sheet: "fixed 14 city spellings, removed 3 test rows". Anyone checking your numbers will need this.
Data validation (Data → Data validation, in all three programs) stops many errors at the source: dropdown lists for cities, number limits for ages.
Let colour raise the alarm. Conditional formatting (Home → Conditional Formatting in Excel; Format → Conditional formatting in Google Sheets and LibreOffice) can turn any age over 120, any blank in a required column or any future date red, so new errors show up as soon as they're typed.
Your turn
In B2, find the smallest age, to spot impossible values.
MIN finds the smallest value.
In B3, count how many ages are impossible (below 0 or above 120).
Count the ages that are below 0 or above 120.
4.2fx=LESSON("TRIM, case, splitting and joining")
Sheet "Clean" · Cleaning data
TRIM, case, splitting and joining
A handful of text functions fix most messy names, codes and addresses.
The task
Names arrive as " amara okafor", "LIU WEI " and "sam jones". You need them tidy, "Amara Okafor", with first and last names in separate columns for a mail merge, and a code like "LAG-001" built from the city and a number.
On the sheet
TRIM removes spaces at the ends and doubles in the middle; PROPER gives each word a capital letter. LEN reveals hidden spaces: " amara okafor" is 15 characters, not 12.
Function
Does
Example → result
=TRIM(A2)
removes extra spaces
" a b " → "a b"
=PROPER(A2)
Capital Each Word
"liu wei" → "Liu Wei"
=UPPER / =LOWER
all capitals / all small
"Lagos" → "LAGOS"
=LEFT(A2, 3)
first 3 characters
"LAG-001" → "LAG"
=RIGHT(A2, 3)
last 3
"LAG-001" → "001"
=MID(A2, 5, 2)
2 characters from position 5
"LAG-001" → "00"
=LEN(A2)
number of characters
=FIND(" ", A2)
position of the first space
=SUBSTITUTE(A2, "-", "/")
replace text
"2026-03-01" → "2026/03/01"
=A2 & " " & B2
join
"Amara" & " " & "Okafor"
How to do it
Add a helper column next to the raw dataDon't overwrite the original yet
Write the cleaning formula in the first row=PROPER(TRIM(A2))
Copy it down
Check a few results by eye, especially odd onesNames like "McDonald" or "van der Berg" may need hand fixes
Paste as valuesCopy the helper column → Paste special → Values only
Delete or hide the raw column only when you're sure
Splitting without formulas: Data → Split text to columns (Sheets), Data → Text to Columns (Excel), Data → Text to Columns (LibreOffice), splitting at the space or comma.
Why it works
Text functions work on the characters inside a cell. Nesting them (TRIM inside PROPER) runs them in order from the inside out. Pasting the results as values at the end cuts the link to the messy original, so you can delete it safely.
Your turn
In B2, clean A2 into "Liu Wei".
PROPER(TRIM(A2)).
In B3, take the city code (the first 3 characters) from A3.
The first 3 characters.
In B4, take the number part (the last 3 characters) from A3.
The last 3 characters.
4.3fx=LESSON("Dates and number formats")
Sheet "Clean" · Cleaning data
Dates and number formats
03/04/2026 is 3 April in most of the world and 4 March in the USA. Make dates unambiguous, and keep numbers as numbers.
The task
A file comes in from a partner abroad. Some dates look fine, some sit on the left of their cells (so they're text), and a few seem a month out. Amounts show "1.234,50" in some rows and "1,234.50" in others. Before any totals, the dates and numbers have to be made consistent.
On the sheet
Only the YYYY-MM-DD form means the same everywhere. "25/06/2026" can't be month/day, so a program set to US dates leaves it as text.
Dates are numbers underneath (lesson 1.2), which is why you can subtract them: =C2-B2 gives the number of days between two dates. Formatting only changes how they look.
Number formats (decimal places, thousands separators, currency symbols, percentages) also change only the look. The value underneath stays the same.
How to do it
Make dates real dates:
Check the alignmentReal dates sit on the right; text dates on the left
Check the file's settingsFile → Settings → Locale (Sheets); Excel and LibreOffice use your computer's region settings, and the import wizard asks
Import with the right orderIn the import or Text to Columns wizard, set the column type to Date and choose DMY or MDY
Convert text dates with DATE=DATE(year, month, day), built from the parts with LEFT, MID and RIGHT
Display as YYYY-MM-DD when sharingFormat → Number → Custom: yyyy-mm-dd
Fix numbers written in another style: "1.234,50" (common in much of Europe and Latin America) means one thousand two hundred and thirty-four point five. Import it with the right locale, or use SUBSTITUTE to swap the separators, then VALUE to turn it into a number.
Why it works
A program reads text as a date using its locale setting, the country it thinks it's in. The same characters give different dates under different locales. ISO 8601's year-month-day order avoids the problem, and also sorts correctly as text.
Your turn
In C2, how many days from 1 March to 15 March 2026? (Type the number of days, or a formula that gives it.)
Dates are numbers: subtract them.
In C3, turn the European-style text "1.234,50" into the number 1234.5.
Remove the dot, swap the comma for a point, then VALUE.
4.4fx=LESSON("Removing duplicates")
Sheet "Clean" · Cleaning data
Removing duplicates
Decide what makes two rows "the same" before you delete anything.
The task
A mailing list built from three sign-up forms has 1,840 rows, but it feels like fewer people. Some sign-ups are clearly repeated. Others look similar but are different people, or the same person placing two real orders. Removing duplicates is easy; removing the right ones takes a decision first.
On the sheet
Column D counts how often each email appears. Anything over 1 is a possible duplicate. But Ana's two rows have different dates: two real orders, or one person signing up twice?
How to do it
Decide the keyWhat makes two rows the same person, order or thing? Email? Email + date? An ID number?
Flag before deleting=COUNTIF($A$2:$A$1841,A2)>1 marks every row whose key appears more than once
Sort by the key so duplicates sit togetherReview a sample by eye
Decide which copy to keepThe first, the latest, or the most complete
Remove themExcel: Data → Remove Duplicates. Sheets: Data → Data cleanup → Remove duplicates. LibreOffice: Data → More Filters → Standard Filter → Options → No duplications
Record what you removed and why
Why it works
The "remove duplicates" tools compare only the columns you tick. Choosing those columns is choosing the key. Ticking only Email treats Ana's two orders as one; ticking Email and Date keeps both. The tool can't know which you meant.
In real work
Write the rule down first. Same email? Same email and same date? Same order number? The right key depends on the question you're answering, so decide it before deleting anything.
Mark, review, then remove. Add the COUNTIF flag column, filter to rows over 1 and read them. The built-in tools keep the first copy they meet, which may not be the one with the most complete details.
Look for near duplicates. "Ana Silva" and "Ana Silva", or "ana@x.com" and "Ana@x.com", are the same person to you but not to the computer. Clean with TRIM and LOWER first (lesson 4.2), then check for duplicates.
Your turn
In B2, count how many times A2's email appears in A2:A5.
COUNTIF the email column for A2.
In B3, clean the text " Ana@Mail.com " so it matches the others.
TRIM inside LOWER.
4.5fx=LESSON("Checkpoint: cleaning")
Sheet "Clean" · Cleaning data
Checkpoint: cleaning
Write formulas to find and fix messy data.
5.1fx=LESSON("Sorting and filtering")
Sheet "Summaries" · Summarising
Sorting and filtering
Reorder and narrow your data without changing it, and without separating a record's cells.
The task
"Who were our top five customers last quarter?" "Show me only the North region." "Which orders are still unpaid?" Each question can be answered in seconds by sorting (putting rows in order) or filtering (hiding rows that don't match), as long as you do it safely.
On the sheet
Sorted by Sales, largest first. Every row moved as a whole, so each name still has its own region, sales and paid status.
How to do it
Sort:
Click any single cell inside the tableThe program detects the whole table
Data → Sort range (Sheets) / Data → Sort (Excel, LibreOffice)
Tick "Data has header row"
Choose the column and the orderSales, largest to smallest (Z→A / descending)
Add a second level if neededRegion A→Z, then Sales largest first
Filter:
Click inside the table and turn filters onData → Create a filter (Sheets), Data → Filter (Excel), Data → AutoFilter (LibreOffice)
Click the arrow on a column header
Untick values to hide them, or use a conditionRegion = North; Sales greater than 300
Clear the filter when doneRows are hidden, never deleted
Freeze the header (View → Freeze) so it stays visible while you scroll.
Why it works
Sort treats each row as one unit and reorders whole rows. Filters only hide rows, so the data is still there and formulas still see it. Both depend on tidy data: one header row, no blank rows, no merged cells.
In real work
Sort by more than one column. Region A→Z, then Sales largest first, gives each region's best sellers in order. Use Data → Sort and Add Level (Excel), Data → Sort range → Advanced (Google Sheets) or Data → Sort with several keys (LibreOffice).
Keep an ID column. Before heavy sorting, add a column numbered 1, 2, 3… Sorting by it puts the rows back in their original order at any time.
Totals and filters. SUM adds hidden rows too. To total only what a filter shows, use =SUBTOTAL(9,C2:C100), which skips rows a filter hides, in all three programs.
Your turn
In D2, find the sales figure that would be at the top after sorting largest first.
The largest value is what a "largest first" sort puts on top.
In D3, count how many rows a filter on Region = North would show.
Count the rows a filter for North would show.
5.2fx=LESSON("COUNTIF, SUMIF and friends")
Sheet "Summaries" · Summarising
COUNTIF, SUMIF and friends
Count, add or average only the rows that match one or more conditions.
The task
"How many orders came from the North?" "What were total sales of pens?" "What's the average order in the South, for orders of 100 or more?" You could filter and read the totals off the status bar, but formulas give answers that update by themselves whenever the data changes.
On the sheet
Click each result to see its formula. SUMIFS adds Sales where Region is North AND Product is Pens: 120 + 30 = 150.
Function
Gives
=COUNTIF(range, criterion)
how many cells in range match
=SUMIF(range, criterion, sum_range)
total of sum_range where range matches
=AVERAGEIF(range, criterion, avg_range)
average where range matches
=COUNTIFS(r1, c1, r2, c2, …)
count where all conditions match
=SUMIFS(sum_range, r1, c1, r2, c2, …)
total where all conditions match (note: sum_range comes first)
Criteria go in quotes: "North", ">=100", "<>Paid" (not equal), "P-*" (starts with P-). To use a cell: ">="&F1.
How to do it
Decide what you're counting or addingSales
Decide the condition columns and valuesRegion = North, Product = Pens
Write the formula=SUMIFS(C2:C7, A2:A7, "North", B2:B7, "Pens")
Keep criteria in cells for flexibility=SUMIFS(C:C, A:A, F1, B:B, F2), then change F1 and F2
Check one result by filtering
Why it works
The function goes down the condition range row by row, tests each cell against the criterion, and includes the matching row's value from the sum range. That's why the ranges must be the same size and start on the same row: row 3 of one is paired with row 3 of the other.
In real work
Put criteria in cells. =SUMIFS($C$2:$C$100,$A$2:$A$100,F2) with region names typed down column F builds a whole summary table from one formula copied down.
Comparisons go in quotes. Write ">=100". To use a value from a cell, join it on: ">="&G1.
Check the parts add up. The SUMIF results for every region should equal the grand total. If they don't, some rows have a region spelt differently (lesson 4.1).
Your turn
In D2, count the South orders.
COUNTIF on the Region column.
In D3, total the North sales.
SUMIF(region range, "North", sales range).
In D4, total sales of Pens in the South.
SUMIFS with two conditions: South and Pens.
5.3fx=LESSON("Pivot tables")
Sheet "Summaries" · Summarising
Pivot tables
Drag fields into Rows, Columns and Values, and a pivot table summarises thousands of rows in seconds, with no formulas.
The task
A year of sales, 12,000 rows. The board wants total sales by region and month, the number of orders per product, and the average order value by sales rep. With SUMIFS you'd need dozens of formulas. A pivot table builds each summary by dragging a few fields.
On the sheet
A pivot table built from the six rows in the previous lesson: Region in Rows, Product in Columns, Sum of Sales in Values.
A pivot table has four areas:
Rows: what to group down the side (Region).
Columns: an optional second grouping across the top (Product).
Values: what to calculate for each group (Sum of Sales, Count of Orders, Average of Sales).
Filters: limit the whole table (only 2026, only one rep).
How to do it
Click inside your tidy data table
Insert → Pivot table (Sheets and Excel) / Insert → Pivot Table (LibreOffice)Put it on a new sheet
Drag Region into Rows
Drag Sales into ValuesIt defaults to Sum; change to Count or Average if you need
Drag Product into Columns (optional)
Refresh when the data changesData → Refresh All (Excel); Sheets updates by itself; LibreOffice: right-click → Refresh
Why it works
A pivot table runs the equivalent of many SUMIFS at once: one for every combination of row and column values it finds in the data. That's why it needs tidy data (Part 1): one header row, one record per row and no merged cells or subtotals inside the data.
In real work
Show shares, not just sums. Ask for values "as % of grand total" (Excel: right-click a value → Show Values As; Google Sheets: the Show as menu in the Values box; LibreOffice: data field options → Displayed value) to answer "what share comes from North?".
Group dates into months, quarters or years: right-click a date in the pivot → Group (Excel), Create pivot date group (Google Sheets) or Data → Group and Outline → Group (LibreOffice).
Look behind a number. Double-click a value in an Excel or LibreOffice pivot to see the rows that make it up. It's the fastest way to check a figure that looks wrong.
Your turn
In D2, calculate what a pivot table would show for Region = North, Product = Pens.
The North/Pens cell of the pivot = SUMIFS with both conditions.
In D3, calculate the "Count of Sales" a pivot would show for North.
Count of rows where Region is North.
5.4fx=LESSON("Checkpoint: summarising")
Sheet "Summaries" · Summarising
Checkpoint: summarising
Count, total and average with conditions.
6.1fx=LESSON("Choosing the chart")
Sheet "Charts" · Charts
Choosing the chart
Compare categories with bars, show change over time with lines, show relationships with scatter.
The task
You've summarised the sales data. Now you need three charts for a short report: which region sells most, how sales moved through the year, and whether shops that advertise more sell more. Pick the wrong type and readers will struggle, or worse, read the wrong message.
On the sheet
A small summary like this, with categories and one number each, is a bar chart. A column of months would be a line chart.
Question
Chart
Why
Which category is biggest?
Bar (horizontal bars handle long labels)
Lengths compare accurately
How did it change over time?
Line
The line shows direction and speed of change
Do two numbers move together?
Scatter
Each dot is one item with two values
What share of a whole? (2–5 parts)
Stacked bar or a simple pie
Parts of 100%
How are values spread?
Histogram
Counts in bins
How to do it
Write the question the chart must answer"Which region sold most in 2026?"
Find the shape of the dataCategories + numbers → bar; dates + numbers → line; two number columns → scatter
Pick the chart from the table above
Prefer bars to pies when there are more than 4–5 parts, or the parts are close in size
Why it works
People judge lengths and positions accurately, angles less well, and areas and 3-D volumes poorly. Bar and line charts use length and position, which is why they're the workhorses. Pies use angles, so they're fine for "about a quarter" but poor for comparing 23% with 27%.
In real work
Start with the sentence. Write the point first, for example "Online overtook stores in March", then pick the chart that makes that sentence obvious. If you can't write the sentence yet, you're not ready to make the chart.
Sometimes a table is better. When people need exact values (prices, a timetable) or there are only two or three numbers, a small table or one large figure beats any chart.
One chart, one message. If a chart is trying to say three things, make three charts.
Your turn
In C2, total all regions, to check a "share of total" chart would add up.
The total the bars represent.
In C3, find North's share of the total, rounded to 3 decimal places.
North ÷ total.
6.2fx=LESSON("Building a clear chart")
Sheet "Charts" · Charts
Building a clear chart
Insert the chart, then strip it down: a title that says the finding, labelled axes, bars from zero, one highlight colour, nothing extra.
The task
The default chart your program draws is a starting point, not a finished chart. It usually has a vague title ("Sales"), a legend you don't need, heavy gridlines, several bright colours and sometimes an axis that doesn't start at zero. Ten seconds of editing turns it into something a reader understands at a glance.
On the sheet
Sorted largest first before charting, so the bars come out in order. The finding is obvious: online now sells more than any region.
How to do it
Insert the chart:
Select the data, including the header rowA1:B6
Insert → Chart (all three programs)
Pick the typeBar or column for this data
Move it next to the data or onto its own sheet
Then work through the clarity checklist:
Title states the finding"Online now outsells every region", not "Sales"
Label the axes with units"Sales (thousands)"
Bars start at zeroCheck the axis minimum in the axis settings
Sort the barsLargest to smallest, unless the order means something (like months)
One accent colourThe bar that matters in a strong colour; the rest grey
Remove clutterHeavy gridlines, borders, shadows, the legend when there's only one series
Label values directly if there are only a fewData labels instead of making readers trace gridlines
Why it works
Each item on the checklist removes either a distortion (a cut-off axis, 3-D, area tricks) or a distraction (rainbow colours, borders, a legend for one series). What's left is the data and one message. A good test: could someone understand the point if they only read the title and looked for five seconds?
Your turn
In C2, how many times bigger is Online than West? Round to 3 decimal places.
Ratio of the two values, rounded.
In C3, how many times taller would Online's bar LOOK than West's if the axis started at 150? Round to 2 places.
Visible heights with the axis at 150: (520 − 150) ÷ (180 − 150).
6.3fx=LESSON("Checkpoint: charts")
Sheet "Charts" · Charts
Checkpoint: charts
Work out the numbers behind a chart.
7.1fx=LESSON("A simple dashboard layout")
Sheet "Dashboard" · From sheets to dashboards
A simple dashboard layout
Key numbers at the top, trends in the middle, details at the bottom, all on one screen, all driven by formulas.
The task
Every Monday your manager asks the same questions: sales last week, compared with the week before, the trend, and anything unusual. Instead of rebuilding the answer each week, you build a dashboard once: a sheet that updates itself when new data is pasted in.
On the sheet
Every key number is a formula, so new data updates it. In a real workbook the data sits on its own sheet and the formulas read =SUM(Data!B2:B500).
A good spreadsheet dashboard has three layers, on three sheets:
DataThe raw, tidy records. You paste new rows here and nothing else
CalculationsFormulas, lookups and pivot tables that summarise the data
DashboardOnly results: 3–5 key numbers, 1–2 charts, a short table of exceptions
Layout of the dashboard sheet, top to bottom:
Key numbers: the 3–5 figures people ask about most, each with a comparison (vs last month, vs target).
Trends: one or two charts.
Details: a small table of exceptions: overdue invoices, low stock, biggest changes.
How to do it
List the questions the dashboard must answerWrite them down with whoever will use it
Build the Data sheet as a tidy table
Write each answer as a formula on the Calculations sheet=SUMIFS, =COUNTIFS, pivot tables
Link the dashboard cells to those results=Calc!B4
Add comparisonsThis month vs last, actual vs target, with a % change
Test with new dataPaste next month's rows: does everything update?
Why it works
Separating data, calculations and presentation means each layer can change without breaking the others. Pasting new data updates the calculations, which update the dashboard. Nobody retypes numbers, so nobody mistypes them.
Your turn
In C2, show "Sales year to date".
Total of the Sales column.
In C3, show the change from March to April as a decimal, rounded to 3 places.
(April − March) ÷ March, rounded to 3 places.
In C4, show "Up" or "Down" for April vs March.
IF April is greater than March, "Up", otherwise "Down".
7.2fx=LESSON("Protecting and sharing")
Sheet "Dashboard" · From sheets to dashboards
Protecting and sharing
Lock what shouldn't change, check what people type, share only what's needed, and keep a history.
The task
You're about to share the dashboard with ten colleagues. Within a week, someone will type over a formula, someone will enter "N/A" in a number column, and someone will forward the file to a supplier with a hidden sheet of salaries still in it. A few settings prevent all three.
On the sheet
Yellow cells are inputs people may change; green cells are formulas that should be protected so nobody types over them.
How to do it
Colour or label the input cellsMake it obvious where people may type
Protect the restExcel: Review → Protect Sheet (unlock input cells first via Format Cells → Protection). Sheets: Data → Protect sheets and ranges. LibreOffice: Tools → Protect Sheet
Add data validation to inputsData → Data validation: a dropdown of regions, whole numbers between 0 and 10,000, dates only
Share with the least access neededView or Comment by default; Edit only for people who maintain it
Use version historySheets and Excel online keep it automatically: File → Version history. For desktop files, save dated copies
Remove what shouldn't travelHidden sheets, personal data, comments and old versions before sending outside
Why it works
Most spreadsheet errors are accidental: a formula overwritten, a value in the wrong format, an edit nobody can trace. Protection stops the first, validation the second, and version history makes the third reversible. Least-privilege sharing limits how far a mistake (or a leak) can spread.
In real work
Give the least access needed. Share "view" or "comment" links with most people and "edit" only with those who maintain the sheet. It's easier to grant more access later than to undo someone's accidental change.
Dropdowns beat typing. Data validation lists (Data → Data validation in all three programs) let people pick "North" instead of typing "north ", which prevents most cleaning work before it starts.
Mark the input cells. Give cells people are meant to change a light fill and a note such as "type here". Everything else can be locked.
Your turn
In C2, show progress towards the target as a decimal.
Actual ÷ target.
In C3, show "On target" if Actual is at least Target, otherwise "Below target".
IF actual is at least the target.
7.3fx=LESSON("When to move to a database")
Sheet "Dashboard" · From sheets to dashboards
When to move to a database
Spreadsheets are brilliant, until many people edit the same records, the data gets big, or mistakes become expensive.
The task
The customer list started as a simple sheet. Now five people edit it at once, it has 60,000 rows and takes ages to open, the same customer appears three times with different phone numbers, and an invoicing mistake last month cost real money. Is the spreadsheet still the right tool?
On the sheet
Signs that a spreadsheet has outgrown its job, and what a database or purpose-built system does instead.
How to do it
Signs you've outgrown a spreadsheet:
Many editors at oncePeople overwrite each other's changes
SizeThe file is slow, or near the limits: Excel holds 1,048,576 rows per sheet; Google Sheets up to 20 million cells per spreadsheet
Repeated dataThe same customer or product is typed in several places and the copies disagree
Rules matterEvery order must have a real customer; stock can't go negative
History and permissions per recordWho changed this, when, and who may see it
Other systems need itAccounts, a website or an app must read and write the data
Options, from small to big:
A shared online sheet with protection and validation (if the problem is mainly co-editing).
A simple database app (such as Airtable, Microsoft Access, or LibreOffice Base).
A proper database behind a purpose-built system, designed around your records.
Why it works
A spreadsheet stores everything as a grid of cells, and any cell can hold anything. A database stores each kind of thing (customers, orders, products) in its own table, once, with rules about what's allowed and how tables link. That's what keeps data consistent when many people and programs use it.
In real work
The Blueprint: How Systems Work course explains how databases and business systems are designed, from tables and keys to whole systems.
Your turn
In C2, count how many times "Amara" appears: a sign of repeated data.