UNIHIVE

Study Hub UNIPORT CSC 182

CSC 182 · Computer Applications

Spreadsheets: features and formulas

Cells, ranges, data types, formulas and relative and absolute references.

Our notes

2 min read

What a spreadsheet is

An electronic grid of rows (numbered 1, 2, 3...) and columns (lettered A, B, C...). Each box is a cell named by column then row: B3. A file is a workbook; each page is a worksheet.

Main features

  • Automatic calculation: change a number and every result updates.
  • Formulas and built-in functions.
  • Sorting and filtering.
  • Charts.
  • Formatting (currency, percentages, dates).
  • Large size: a modern Excel sheet has about a million rows.

What goes in a cell

TypeExampleDefault alignment
Label (text)Name, Matric No.Left
Value (number)250, 4.5Right
Date02/11/2026Right
Formula=B2*C2Shows the result

Formulas

Every formula starts with =.

OperatorMeaning
+ − * /Add, subtract, multiply, divide
^Power
( )Brackets first

Order: brackets, powers, then × and ÷, then + and −.
=2+3*4 gives 14, not 20. =(2+3)*4 gives 20.

Ranges

A block of cells: A1:A10 (ten cells in column A), B2:D5 (3 columns × 4 rows = 12 cells).

Worked example: a provisions shop

Practice figures.

ABCD
1ItemPrice (₦)QtyAmount
2Bread1,5004=B2*C2
3Milk9006=B3*C3
4Sugar1,2002=B4*C4
5Total=SUM(D2:D4)

Results: D2 = 6,000; D3 = 5,400; D4 = 2,400; D5 = 13,800.
Check by hand: 6,000 + 5,400 = 11,400; 11,400 + 2,400 = 13,800. Correct.

Fill handle and relative references

Type =B2*C2 in D2, then drag the small square at the cell's corner down. Excel changes it to =B3*C3, =B4*C4. This is a relative reference: it moves with the formula.

Absolute references

Sometimes a cell must stay fixed. Put a $ before the column and row: $F$1.

Example: VAT rate in F1. In E2: =D2*$F$1. Copied down, it becomes =D3*$F$1: D changes, F1 stays.

At 7.5% (Nigeria's VAT rate in 2026; check for changes), E2 = 6,000 × 0.075 = 450. Check: 1% of 6,000 is 60; 7.5 × 60 = 450.

Mixed references: $F1 fixes the column; F$1 fixes the row.

Error messages

ErrorMeaning
#####Column too narrow
#DIV/0!Divided by zero or an empty cell
#NAME?Misspelt function name
#VALUE!Wrong type, such as text in a sum
#REF!Points to a deleted cell

Exams usually ask

  • Explain relative and absolute references with an example.
  • Write the formula for a total and evaluate it.

Common mistake

Typing a total as a number instead of a formula. When a price changes, the typed total stays wrong.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All CSC 182 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.