What you will learn
- Use SUM, IF, AVERAGE, MAX, INDEX/MATCH and SUMIF together
- Build a report from a table of numbers
How it works
The table shows each person's sales for four quarters (in thousands of dollars).
Find each total. Compare each total to the average. Find the top seller. Add up one region.
Keys at a glance
SUM · IF · AVERAGE · MAX | INDEX/MATCH · SUMIF |
Example
Write the formula to find Ana's yearly total.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Rep | Region | Q1 | Q2 | Q3 | Q4 | Total | vs avg | |
| 2 | Ana | East | 42 | 51 | 38 | 47 | Top total | ||
| 3 | Ben | West | 35 | 29 | 44 | 40 | Top rep | ||
| 4 | Cleo | East | 58 | 61 | 55 | 63 | East total | ||
| 5 | Dev | North | 30 | 36 | 33 | 41 | Q4 total | ||
| 6 | Eli | West | 47 | 45 | 52 | 49 | Average total | ||
| 7 | Fay | East | 39 | 42 | 46 | 44 |
Click G2 and type =SUM(C2:F2), then press Enter.
The answer is 178.
When to use it
- Monthly or quarterly sales reports
- Checking who is above or below average
- Practicing SUM, IF, MAX and lookups together
Common mistakes
- Not locking the average in IFLock it with $ before copying down.
- Typing totals by handUse formulas so the report updates.
- Looking up a name with MAX onlyMAX gives the number. Use INDEX and MATCH for the name.
Quick check
Which formula finds the highest total in G2:G7?
=TOP(G2:G7)=MAX(G2:G7)=HIGH(G2:G7)=SUM(G2:G7)
Show the answer
B. =MAX(G2:G7) MAX finds the biggest number.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.