Module 16 · Job Tests · Report by region

Jamal Carter applies for a job at Meridian Supplies

Round three. Meridian sends a raw export with 16 sales lines. The task is a small report: revenue, orders and average order for each region, and the paper revenue too. The sales manager wants this report every Monday. Jamal turns the egg timer to 8 minutes.

Loading the spreadsheet…

Module 16 · Job Tests

Report by region

Jamal Carter, applies for a job at Meridian Supplies
Jamal Carter applies for a job at Meridian Supplies

Round three. Meridian sends a raw export with 16 sales lines. The task is a small report: revenue, orders and average order for each region, and the paper revenue too. The sales manager wants this report every Monday. Jamal turns the egg timer to 8 minutes.

Steps

  1. Revenue and orders per region

    SUMIFS adds up the rows that match a condition. COUNTIFS counts them. Use the region cell as the condition, so the formula works in every row.

    How to do it

    1. Select the first cell of the report column.
    2. Type =SUMIFS( and the range to add up with $ signs.
    3. Type the condition range with $ signs, the cell with the condition and a closing bracket.
    4. Press Enter.
    5. Select the formula and the cells below it.
    6. Press Ctrl+D.
    7. COUNTIFS has no range to add up. It starts with the first pair: =COUNTIFS(range,condition).

    =SUMIFS($F$5:$F$20,$C$5:$C$20,H5)

    Task: Count the orders of each region. Fill J5:J8 with COUNTIFS.

  2. Average and a second condition

    AVERAGEIFS works like SUMIFS, but it gives the average. SUMIFS can take more pairs of range and condition. A row counts only when all conditions match.

    How to do it

    1. Select the first cell of the report column.
    2. Type =AVERAGEIFS( with the range to average first, then the pairs.
    3. Press Enter.
    4. Select the formula and the cells below it.
    5. Press Ctrl+D.
    6. For a second condition, add one more pair at the end: a range, a comma and the condition.

    =AVERAGEIFS($F$5:$F$20,$C$5:$C$20,H5)

    Task: Fill the paper revenue in L5:L8: the revenue of each region, only for the category Paper. Use SUMIFS with two conditions.