A spreadsheet is a grid that calculates for you. Type your marks, prices or expenses into Microsoft Excel, add a formula, and the totals and averages update the moment any number changes. Shops use Excel for stock, teachers for result sheets and families for monthly budgets. This lesson explains cells and ranges, formulas, the most useful functions, relative and absolute references, sorting and charts.
In this lesson you will learn
- Workbooks, worksheets, cells and ranges
- Writing formulas with operators
- Functions: SUM, AVERAGE, MAX, MIN, COUNT, IF and COUNTIF
- Relative and absolute cell references and the fill handle
- Sorting, filtering, formatting and charts
You should know the ribbon and basic shortcuts.
Workbooks, Sheets and Cells
An Excel file is a workbook (.xlsx). It contains one or more worksheets, shown as tabs at the bottom. Each sheet is a grid of columns (labelled A, B, C …) and rows (numbered 1, 2, 3 …). Where a column and row meet is a cell, named by its column and row, such as B3. A block of cells is a range, written with a colon: B2:B6 means B2, B3, B4, B5 and B6.
Formulas
Every formula starts with an equals sign =. Use cell names rather than typing the numbers, so the result updates when the data changes.
| Operator | Meaning | Example |
|---|---|---|
| + − | Add, subtract | =B2+C2 |
| * / | Multiply, divide | =B2*1.1 |
| ^ | Power | =A1^2 |
| % | Percent | =500*15% gives 75 |
Excel follows the normal order of operations: brackets first, then powers, then × and ÷, then + and −. So =2+3*4 gives 14, but =(2+3)*4 gives 20.
Useful Functions
Using the marks in the figure (B2:B6 hold 72, 85, 64, 90 and 28):
=SUM(B2:B6) → 339 total
=AVERAGE(B2:B6) → 67.8 mean
=MAX(B2:B6) → 90 highest
=MIN(B2:B6) → 28 lowest
=COUNT(B2:B6) → 5 how many numbers
=IF(B6>=33,"Pass","Fail") → Fail (Tanvir's 28 is below 33)
=COUNTIF(B2:B6,">=33") → 4 how many passed
The IF function has three parts: a test, the value if the test is true, and the value if it is false. Text answers must be in double quotes.
Quick tip
Select a range and look at the status bar at the bottom: Excel shows its sum, average and count without any formula.
Relative and Absolute References
Drag the small square at the bottom-right of a selected cell (the fill handle) to copy a formula down. Excel adjusts the cell names as it copies: =B2*1.1 in row 2 becomes =B3*1.1 in row 3. These are relative references.
Sometimes one cell must stay fixed, such as a tax rate or a bonus in cell E1. Put dollar signs in front to make an absolute reference: $E$1. Press F4 after typing a cell name to add them.
E1 holds the grace marks: 5
C2: =B2+$E$1 → 77
copied to C3: =B3+$E$1 → 90 (B changes, $E$1 stays fixed)
Sorting, Filtering and Formatting
- Sort: Data → Sort to order rows, for example by marks from highest to lowest. Select the whole table first so names stay with their marks.
- Filter: Data → Filter adds drop-down arrows to show only matching rows, such as students who failed.
- Number formats: show values as currency (৳), percentage or with a fixed number of decimals.
- Conditional formatting: colours cells automatically, for example red for marks below 33.
- Freeze panes: View → Freeze Top Row keeps the headings visible when you scroll.
Charts
Select the names and marks, then Insert → Chart. Use a column chart to compare values, a line chart for changes over time, and a pie chart for parts of a whole. Always add a clear chart title and axis titles.
Common Mistakes
- Forgetting the = sign. Without it, Excel shows your formula as plain text.
- Typing numbers into formulas. =72+85 will not update; =B2+B3 will.
- Sorting one column alone. Names then get mixed up with the wrong marks.
- Not fixing a constant cell. Copying =B2*E1 down gives =B3*E2, which is empty; use $E$1.
Practice Exercises
Exercise 1. Write a formula in C2 that shows “A+” if B2 is 80 or more, otherwise “Below A+”.
Show answer
=IF(B2>=80,”A+”,”Below A+”)
Exercise 2. What does ####### in a cell usually mean?
Show answer
The column is too narrow to show the number. Double-click the right edge of the column heading to widen it automatically.
Frequently Asked Questions
What is VLOOKUP?
VLOOKUP searches the first column of a table for a value and returns a value from another column in the same row, for example finding a product’s price from its code. Newer Excel versions also have XLOOKUP, which is easier to use.
What does #DIV/0! mean?
The formula tried to divide by zero or by an empty cell. Check the cell you are dividing by, or use IFERROR to show a friendlier message.
Summary
- Cells are named by column and row; ranges use a colon, like B2:B6.
- Formulas start with =; use cell names so results update.
- SUM, AVERAGE, MAX, MIN, COUNT, IF and COUNTIF cover most everyday tasks.
- Use $ for absolute references that must not change when copied.
Next: MS PowerPoint Basics.
