PassEveryTest

Excel Formulas and Data Analysis Course: Conditional totals: SUMIFS, COUNTIFS and AVERAGEIFS

Untimed topic quiz: 15 questions on Conditional totals: SUMIFS, COUNTIFS and AVERAGEIFS, with an explanation after each answer. Questions and answers are shuffled every time.

  • Course
  • Canada
  • 96 questions
  • Checked October 13, 2026
  • Fact-checked October 13, 2026
Start with the lessonsExcel Formulas and Data Analysis Course: Lessons: about 240 minutes of reading. Every test question is covered in the lessons.

Topic quiz 2: Conditional totals: SUMIFS, COUNTIFS and AVERAGEIFS

  1. Question 1 of 15

    In SUMIFS, which argument comes first?
    Show answer

    Answer: C. sum_range, the cells to add

    The syntax is SUMIFS(sum_range, criteria_range1, criteria1, ...). The cells to add always come first.

  2. Question 2 of 15

    In SUMIF (with one condition), where does the range to add up go?
    Show answer

    Answer: C. Third, after the criteria

    SUMIF is SUMIF(range, criteria, [sum_range]). Microsoft points out that sum_range is first in SUMIFS but third in SUMIF.

  3. Question 3 of 15

    In the sales sheet below, what does =SUMIFS(F2:F11,B2:B11,"Ana") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: A. 2610

    It adds the Amount for every row where Rep is Ana: 1,200 + 510 + 900 = 2,610.

  4. Question 4 of 15

    In the sales sheet below, what does =COUNTIFS(C2:C11,"North",D2:D11,"Alarms") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: D. 2

    COUNTIFS counts rows where every condition is met. Two rows are both North and Alarms (rows 4 and 10).

  5. Question 5 of 15

    In the sales sheet below, what does =SUMIFS(F2:F11,C2:C11,"North",D2:D11,"Cameras") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: B. 2100

    Only rows that are North AND Cameras count: 1,200 + 900 = 2,100.

  6. Question 6 of 15

    In the sales sheet below, what does =SUMIFS(E2:E11,D2:D11,"<>Sensors") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: B. 42

    "<>Sensors" means "not equal to Sensors". It adds the units of the other eight rows: 4+10+6+2+5+3+8+4 = 42.

  7. Question 7 of 15

    In the sales sheet below, what does =COUNTIFS(F2:F11,">=600") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: B. 7

    Seven amounts are 600 or more (1,200, 850, 600, 1,500, 900, 680 and 600). The two 600s count because >= includes the value itself.

  8. Question 8 of 15

    In the sales sheet below, what does =AVERAGEIFS(F2:F11,B2:B11,"Ben") return (to 2 decimal places)?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: B. 983.33

    Ben has three sales: (850 + 1,500 + 600) / 3 = 983.33.

  9. Question 9 of 15

    In the sales sheet below, what does =AVERAGEIFS(F2:F11,C2:C11,"West") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: C. #DIV/0!

    No row is in the West region. When no cells meet all the criteria, AVERAGEIFS returns #DIV/0!.

  10. Question 10 of 15

    In the sales sheet below, what does =COUNTIFS(B2:B11,"?e?") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: D. 5

    A question mark matches exactly one character, so "?e?" matches three-letter names with e in the middle: Ben (3 rows) and Dev (2 rows).

  11. Question 11 of 15

    Cell H2 holds a target amount. Which formula counts the amounts in F2:F11 that are greater than the target?
    Show answer

    Answer: C. =COUNTIFS(F2:F11,">"&H2)

    Put the operator in quotes and join it to the cell with &. Inside quotes, ">H2" is read as the text H2, not the cell.

  12. Question 12 of 15

    Column A of the sales sheet below holds real dates. What does =SUMIFS(F2:F11,A2:A11,">="&DATE(2026,3,9),A2:A11,"<="&DATE(2026,3,12)) return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: C. 2520

    It adds amounts dated March 9 to March 12, 2026, including both ends: 900 + 680 + 340 + 600 = 2,520.

  13. Question 13 of 15

    What must be true of every criteria range in COUNTIFS?
    Show answer

    Answer: A. Same number of rows and columns as the first range

    Each extra range must be the same shape as criteria_range1, so Excel can compare the cells row by row.

  14. Question 14 of 15

    In the sales sheet below, what does =SUMIFS(F2:F11,C2:C11,"North",C2:C11,"East") return?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: A. 0

    SUMIFS adds a row only when ALL conditions are true. No cell can be North and East at once, so the result is 0. To add both regions, add two SUMIFS together.

  15. Question 15 of 15

    In the sales sheet below, what does =AVERAGEIFS(E2:E11,C2:C11,"North",F2:F11,">400") return (to 2 decimal places)?
    ABCDEF
    1DateRepRegionProductUnitsAmount
    22026-03-02AnaNorthCameras41200
    32026-03-02BenSouthAlarms10850
    42026-03-03AnaNorthAlarms6510
    52026-03-04ChloéEastCameras2600
    62026-03-05BenSouthCameras51500
    72026-03-06DevNorthSensors12360
    82026-03-09AnaNorthCameras3900
    92026-03-10ChloéEastAlarms8680
    102026-03-11DevNorthAlarms4340
    112026-03-12BenSouthSensors20600
    Show answer

    Answer: C. 4.33

    North rows with an amount over 400 are Ana's 1,200, 510 and 900 sales. Their units are 4, 6 and 3, so the average is 13 / 3 = 4.33.

Related tests