CHEAT SHEET - Two Rivers Software Training

CHEAT SHEET: SUMIF & SUMIFS
How do the SUMIF & SUMIFS functions work?

SUMIF looks at a given cell range to locate cells that match a given value, then tallies up the figures from
a corresponding range.
It has the structure: =SUMIF(LookupRange, Criteria, SumRange)
which can be read as =COUNTIF(the range to check, what to check for, the range to tally)

SUMIFS counts the number of cells in the SumRange where:
value 1 is found in LookupRange 1 and
value 2 is found in LookupRange 2 and
value 3 is found in LookupRange 3 etc.
It has the structure: =SUMIFS(SumRange, LookupRange1, Criteria1, LookupRange2, Criteria2 etc.)
Notice that the SumRange is the last parameter in the SUMIF formula but the first parameter in the
SUMIFS formula.
Examples of SUMIF
=SUMIF(C1:C20, “QLD”, G1:G20)
Tally (SUM) up the figures in column G where the
corresponding cell in column C contains “QLD”
=SUMIF (D1:D20, “Plumber”, G1:G20)
Tally (SUM) up the figures in column G where the
corresponding cell in column D contains “Plumber”
Examples of SUMIFS
=SUMIFS(G1:G20, C1:C20, “QLD”, D1:D20,
“Plumber”)
What is the total xxx for QLD plumbers?
=SUMIFS(G1:G20, C1:C20, “QLD”, D1:D20,
“Plumber”, E1:E20, “>30”)
What is the total xxx for QLD plumbers over the age
of 30?
The formula tallies the figures in column G where the
corresponding cell in column C contains “QLD” and
the corresponding cell in column D contains
“Plumber”.
The formula tallies the figures in column G where the
corresponding cell in column C contains “QLD” and
the corresponding cell in column D contains
“Plumber” and the corresponding cell in column E is
more than 30.
Copyright © 2016 Two Rivers Software Training
www.trst.com.au All Rights Reserved