SUMIF and SUMIFS practice: totals by group
For anyone who has to answer "how much did each team spend?" from a long list. You'll total by group with SUMIF and SUMIFS, work out VAT to the penny, compare spending with a budget, and use other worksheets and Excel tables in your formulas. The project is a team's spending for a year, one sheet a month, brought together on a summary sheet.
7 lessons36 exercises21 Check questions1 free lessona project in Excel3.5 suggested CPD hours
In H2, total the training hours for the North region.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Employee | Team | Region | Attendance | Training hours | |||
| 2 | Grace | Sales | North | 97% | 64 | North region hours | ||
| 3 | Tom | Finance | South | 88% | 22 | Support average attendance | ||
| 4 | Priya | Sales | East | 99% | 81 | Sales South region hours | ||
| 5 | Marek | Support | North | 95% | 35 | Finance average hours (90%+ attendance) | ||
| 6 | Nia | Finance | East | 95% | 58 | |||
| 7 | Ollie | Support | South | 84% | 17 | |||
| 8 | Lucy | Sales | South | 93% | 46 | |||
| 9 | Hamza | Finance | North | 89% | 29 | |||
| 10 | Rachel | Support | East | 98% | 73 | |||
| 11 | Sunil | Sales | North | 86% | 31 | |||
| 12 | Tanya | Finance | South | 96% | 50 | |||
| 13 | Will | Support | North | 94% | 52 | |||
| 14 | Zoe | Sales | North | 92% | 55 | |||
| 15 | Ben | Finance | North | 97% | 66 | |||
| 16 | Ella | Finance | South | 90% | 38 |
The lessons
Each lesson starts with a short worked example, then exercises on real-looking data, marked the moment you press Check, with hints when you need them. It ends with a Check: new questions on fresh data, with no hints. Pass it and the lesson is marked Secure.
- SUMIF and AVERAGEIF Free
SUMIF, SUMIFS, AVERAGEIF, AVERAGEIFS · 5 exercises · a Check of 3 questions · guide: SUMIF and SUMIFS - SUMIFS practice Pro
SUMIFS with cells, comparisons, date ranges, not equal, a summary grid · 5 exercises · a Check of 3 questions - Budgets and spend to date Pro
Running totals, variance, % spent, projections · 5 exercises · a Check of 3 questions · guide: Budget vs actual in Excel - Invoices and VAT Pro
VAT to the penny, gross and net, due dates, days overdue · 5 exercises · a Check of 3 questions · guide: VAT in Excel - Working across worksheets Pro
Sheet2!A1, 'Sheet name'!A1, totals and lookups from other sheets · 5 exercises · a Check of 3 questions · guide: VLOOKUP from another sheet in Excel - Excel tables Pro
Ctrl+T, tables that grow, calculated columns, Table1[Sales], [@Hours] · 5 exercises · a Check of 3 questions - Review: adding up Pro
SUM, SUMIF, SUMIFS, AVERAGEIF: which one? · 6 exercises · a Check of 3 questions
The project in Excel: Team budget tracker
A year of spend for a small team, one sheet per month. Pull it together into a budget report.
What you'll build:
- Spend by category and by month
- VAT on each invoice
- Spend to date against the budget
- A summary sheet that reads the month sheets
Download the workbook and do the job in Excel. A Check sheet in the workbook ticks off each task as you get it right, and the model answers are there to compare with when you've finished. You'll need Excel 2019 or later, or Excel for the web, which is free with a Microsoft account.
Counts towards a certificate
Unit 4 is part of the Excel Intermediate certificate of achievement (Units 4 to 6, 9 hours of suggested CPD). To earn it, pass the Check in every lesson of those units while signed in (reviews and extra practice aren't needed), and finish each unit's project in Excel. Our server checks the work itself. Certificates come with Pro: see how they work.
Online practice and assessment, completed without supervision. Confident Cells is independent and isn’t connected with Microsoft. This is not a formal qualification.
Guides for this topic
- AVERAGEIFS: the average of the rows that matchHow AVERAGEIF and AVERAGEIFS work out the average of only the rows that match one or more conditions, with a worked example and a sheet to practise on.
- Budget vs actual in Excel: spend to date and varianceHow to build a budget vs actual sheet in Excel: spend to date with a running total, variance, % of budget spent, over-budget flags and a projection.
- Excel for AAT: practise for the spreadsheet tasks on any computerWhich AAT Level 3 unit tests spreadsheets, what its assessment needs, and Excel practice for each skill: budgets, variances, PivotTables, charts and auditing.
- Excel test for a job interview: what to expect and how to practiseWhat an Excel test at interview usually covers, from SUM and IF to VLOOKUP, SUMIFS and pivot tables, how the tests work, and free practice marked as you type.
- Online Excel tests for jobs: Kenexa, SHL and IndeedWhat online Excel tests for jobs are like: Kenexa Prove It and SHL tasks, multiple-choice tests and tasks at interview, the levels, and what to practise.
- SUMIF and SUMIFS: adding up the rows that matchHow SUMIF adds up the rows that match one condition, and SUMIFS several, such as one region in one month. Worked examples, common mistakes and a practice sheet.
- VAT in Excel: adding it, taking it off and roundingAdd 20% VAT by multiplying by 1.2, take it off by dividing by 1.2 (taking 20% off gives the wrong answer), and round VAT to the penny. Free practice box.
- VLOOKUP from another sheet in ExcelHow to VLOOKUP a table on another sheet in Excel: the Sheet! part, quote marks for sheet names with spaces, and clicking across to build it. With practice.
Questions
SUMIF or SUMIFS?
SUMIF takes one condition, and the range to add comes last: =SUMIF(B2:B50,"Travel",D2:D50). SUMIFS takes one or more, and the range to add comes first: =SUMIFS(D2:D50,B2:B50,"Travel",C2:C50,"March"). Writing SUMIFS in the SUMIF order is a common mistake, and the lessons tell you when you've made it. See SUMIFS with a worked example.
Does it cover Excel tables?
Yes. The Excel tables lesson turns a block of data into a table with Ctrl+T (Control+T in Excel for Mac) and uses column names in formulas: =SUM(Table1[Sales]) totals the whole column, however many rows are added later.