Confident CellsExcel practice Start free
Unit 4 of 9

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

Try one now

In H2, total the training hours for the North region.

ABCDEFGH
1EmployeeTeamRegionAttendanceTraining hours
2GraceSalesNorth97%64North region hours
3TomFinanceSouth88%22Support average attendance
4PriyaSalesEast99%81Sales South region hours
5MarekSupportNorth95%35Finance average hours (90%+ attendance)
6NiaFinanceEast95%58
7OllieSupportSouth84%17
8LucySalesSouth93%46
9HamzaFinanceNorth89%29
10RachelSupportEast98%73
11SunilSalesNorth86%31
12TanyaFinanceSouth96%50
13WillSupportNorth94%52
14ZoeSalesNorth92%55
15BenFinanceNorth97%66
16EllaFinanceSouth90%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.

  1. SUMIF and AVERAGEIF Free
    SUMIF, SUMIFS, AVERAGEIF, AVERAGEIFS · 5 exercises · a Check of 3 questions · guide: SUMIF and SUMIFS
  2. SUMIFS practice Pro
    SUMIFS with cells, comparisons, date ranges, not equal, a summary grid · 5 exercises · a Check of 3 questions
  3. Budgets and spend to date Pro
    Running totals, variance, % spent, projections · 5 exercises · a Check of 3 questions · guide: Budget vs actual in Excel
  4. 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
  5. 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
  6. Excel tables Pro
    Ctrl+T, tables that grow, calculated columns, Table1[Sales], [@Hours] · 5 exercises · a Check of 3 questions
  7. Review: adding up Pro
    SUM, SUMIF, SUMIFS, AVERAGEIF: which one? · 6 exercises · a Check of 3 questions

The project in Excel: Team budget tracker

Part of Pro

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.

See the project

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

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.

Getting ready for a job test? Take the free Excel test: 12 questions in 20 minutes, marked as you go. Every other test is in the Test Centre.