How to get totals by month

Total a list of dated sales by month, with a month column and SUMIF, or with a pivot table grouped by month.

MediumPremium9 min
Task 1A month column and SUMIF5 questions

To total by month, each row has to say which month it belongs to. =MONTH(A2) returns the month of a date as a number from 1 to 12.

Larkhill Stationery, sales list with a month column
ABCD
1DateCustomerNetMonth
26 Jan 2026Hollin School240.001
314 Jan 2026Moss Lane Vets90.001
427 Jan 2026Quay Dental160.001
53 Feb 2026Hollin School110.002
612 Feb 2026Tarn Garage300.002
719 Feb 2026Moss Lane Vets210.002
82 Mar 2026Hollin School180.003
910 Mar 2026Quay Dental140.003
1018 Mar 2026Moss Lane Vets150.003
1125 Mar 2026Hollin School170.003

=SUMIF(D2:D11,2,C2:C11) adds the Net figure of every row where column D is 2. That is the total for February.

MONTH gives 1 for January of any year. If a list covers more than one year, add a YEAR column too, or use a pivot table.

Task 2Months in a pivot table3 questions