For teachers / Answer key

Answer key: Challenges

For teachers. This page is kept out of search engines and linked only from the teachers page. Students can see the same answers in a lesson with Show answer. Any formula that gives the right values counts.

1. Challenge: the class gradebook (Intermediate, 8 min)

  1. In F2:F16, work out each student's average of the four marks, rounded to a whole number. Use rounding in the formula, not just a number format, so the grades and ranks use the same figure the report card shows.

    • F2:F16 =ROUND(AVERAGE(B2:E2),0) then copy it across the range

    Shows F2: 89, F3: 63, F4: 78, F5: 54, F6: 94, F7: 72, and 9 more

  2. In G2:G16, give each student a letter grade by looking their average up in the grade table J1:K6. An average of 78 should get a C: it is at least 70 but below 80.

    • G2:G16 =VLOOKUP(F2,$J$2:$K$6,2,TRUE) then copy it across the range

    Shows G2: B, G3: D, G4: C, G5: F, G6: A, G7: C, and 9 more

  3. In H2:H16, rank the students by average, so the highest average is ranked 1.

    • H2:H16 =RANK(F2,$F$2:$F$16) then copy it across the range

    Shows H2: 2, H3: 12, H4: 6, H5: 14, H6: 1, H7: 8, and 9 more

  4. In K9, count how many students have an average at or above the pass mark in K8.

    • K9 =COUNTIF(F2:F16,">="&K8)

    Shows K9: 12

  5. In K10, show the pass rate: the share of the class that passed, formatted as a percentage.

    • K10 =K9/COUNTA(A2:A16) · Number format 0%

    Shows K10: 80%

2. Challenge: quarterly sales summary (Advanced, 10 min)

  1. Fill H2:J5 with the total sales for each region (rows) in each month (columns). Aim for one formula in H2 that can be filled across and down the whole block.

    • H2:J5 =SUMIFS($D$2:$D$21,$B$2:$B$21,$G2,$A$2:$A$21,H$1) then copy it across the range

    Shows H2: $7,030, I2: $3,675, J2: $6,605, H3: $3,150, I3: $5,630, J3: $3,980, and 6 more

  2. Add the totals: each region's quarter in K2:K5, and each month plus the grand total in H6:K6.

    • K2:K5 =SUM(H2:J2) then copy it across the range
    • H6:K6 =SUM(H2:H5) then copy it across the range

    Shows K2: $17,310, K3: $12,760, K4: $22,445, K5: $14,275, H6: $21,735, I6: $19,490, and 2 more

  3. In L2:L5, show each region's share of the grand total, formatted as a percentage.

    • L2:L5 =K2/$K$6 · Number format 0.0% then copy it across the range

    Shows L2: 25.9%, L3: 19.1%, L4: 33.6%, L5: 21.4%

  4. In H8, show the name of the region with the highest total. Work it out with a formula, so it changes if the numbers do.

    • H8 =INDEX(G2:G5,MATCH(MAX(K2:K5),K2:K5,0))

    Shows H8: East

  5. In H9, do the same for the month with the highest total sales.

    • H9 =INDEX(H1:J1,MATCH(MAX(H6:J6),H6:J6,0))

    Shows H9: Mar

3. Challenge: stock room reorder list (Intermediate, 8 min)

  1. In F2:F17, show Reorder when an item's stock is at or below its reorder level, and OK otherwise.

    • F2:F17 =IF(C2<=D2,"Reorder","OK") then copy it across the range

    Shows F2: OK, F3: OK, F4: Reorder, F5: OK, F6: OK, F7: OK, and 10 more

  2. In G2:G17, work out the value of the stock on hand for each item, formatted as currency.

    • G2:G17 =C2*E2 · Number format $#,##0.00 then copy it across the range

    Shows G2: $37.20, G3: $74.75, G4: $17.20, G5: $51.60, G6: $62.90, G7: $31.50, and 10 more

  3. In H2:H17, show each item's supplier name. The code is the first two letters of the SKU; look it up in the supplier table J1:K5.

    • H2:H17 =XLOOKUP(LEFT(A2,2),$J$2:$J$5,$K$2:$K$5) then copy it across the range

    Shows H2: Cornerstone Wholesale, H3: Cornerstone Wholesale, H4: Cornerstone Wholesale, H5: Cornerstone Wholesale, H6: Meadowside Dairy-Free, H7: Meadowside Dairy-Free, and 10 more

  4. In K7, count how many items need reordering.

    • K7 =COUNTIF(F2:F17,"Reorder")

    Shows K7: 6

  5. In K8, total the value of all stock. In K9, total the value of only the items that need reordering.

    • K8 =SUM(G2:G17)
    • K9 =SUMIF(F2:F17,"Reorder",G2:G17)

    Shows K8: $1,265.50, K9: $271.75

4. Challenge: travel budget vs actual (Intermediate, 9 min)

  1. In D2:D15, convert each amount spent into dollars using the rate in J1, rounded to the cent.

    • D2:D15 =ROUND(C2*$J$1,2) then copy it across the range

    Shows D2: $765.62, D3: $922.14, D4: $70.31, D5: $41.86, D6: $143.66, D7: $78.48, and 8 more

  2. In E2:E15, show how much of each budget is left over: positive means you came in under budget, negative means you overspent.

    • E2:E15 =B2-D2 then copy it across the range

    Shows E2: $14.38, E3: -$22.14, E4: -$10.31, E5: $3.14, E6: -$23.66, E7: $11.52, and 8 more

  3. In F2:F15, show what percentage of each budget you used, formatted as a percentage.

    • F2:F15 =D2/B2 · Number format 0% then copy it across the range

    Shows F2: 98%, F3: 102%, F4: 117%, F5: 93%, F6: 120%, F7: 87%, and 8 more

  4. In G2:G15, flag each category Over if you spent more than the budget, or OK if not.

    • G2:G15 =IF(D2>B2,"Over","OK") then copy it across the range

    Shows G2: OK, G3: Over, G4: Over, G5: OK, G6: Over, G7: OK, and 8 more

  5. Complete the Total row: B16:E16 should add up each column, and F16 should show the percentage of the whole trip budget you used.

    • B16:E16 =SUM(B2:B15) then copy it across the range
    • F16 =D16/B16

    Shows B16: $3,000, C16: $2,848, D16: $3,104, E16: -$104, F16: 103%

  6. In J3, count how many categories went over budget.

    • J3 =COUNTIF(G2:G15,"Over")

    Shows J3: 6

5. Challenge: the league table (Advanced, 9 min)

  1. In G2:G11, work out each team's points from its wins, draws and losses. Use all three values in L2:L4, even the 0 for a loss, so a change to the scoring flows straight through.

    • G2:G11 =B2*$L$2+C2*$L$3+D2*$L$4 then copy it across the range

    Shows G2: 15, G3: 13, G4: 26, G5: 21, G6: 35, G7: 40, and 4 more

  2. In H2:H11, show each team's goal difference: goals scored minus goals conceded.

    • H2:H11 =E2-F2 then copy it across the range

    Shows H2: -12, H3: -17, H4: 2, H5: -4, H6: 11, H7: 26, and 4 more

  3. In I2:I11, give each team its league position by points, with the most points in 1st place.

    • I2:I11 =RANK(G2,$G$2:$G$11) then copy it across the range

    Shows I2: 8, I3: 9, I4: 5, I5: 6, I6: 3, I7: 1, and 4 more

  4. Teams level on points are separated by goal difference. Rework I2:I11 so that each team drops one place for every team on the same points with a better goal difference. Positions 1 to 10 should then each appear exactly once.

    • I2:I11 =RANK(G2,$G$2:$G$11)+COUNTIFS($G$2:$G$11,G2,$H$2:$H$11,">"&H2) then copy it across the range

    Shows I2: 8, I3: 9, I4: 5, I5: 6, I6: 4, I7: 1, and 4 more

  5. In L6, show the name of the team with the most points. Work it out with a formula, so it would update if a late result changed the table.

    • L6 =INDEX(A2:A11,MATCH(MAX(G2:G11),G2:G11,0))

    Shows L6: Kestrel Park

6. Challenge: weekly payroll (Advanced, 10 min)

  1. In G2:G13, work out each person's total hours for the week as a plain number: 8½ hours a day for 5 days should show 42.50.

    • G2:G13 =(E2-D2)*24*F2 then copy it across the range

    Shows G2: 42.50, G3: 45.00, G4: 42.50, G5: 42.50, G6: 32.00, G7: 32.00, and 6 more

  2. In H2:H13, show the overtime hours: anything above the weekly limit in N1. Overtime can never be negative, so anyone under the limit should show 0.

    • H2:H13 =MAX(0,G2-$N$1) then copy it across the range

    Shows H2: 2.50, H3: 5.00, H4: 2.50, H5: 2.50, H6: 0.00, H7: 0.00, and 6 more

  3. In I2:I13, work out gross pay: the normal hours at the person's rate, plus the overtime hours at their rate times the multiplier in N2.

    • I2:I13 =C2*(G2-H2)+C2*$N$2*H2 then copy it across the range

    Shows I2: $853.13, I3: $890.63, I4: $717.50, I5: $796.25, I6: $524.80, I7: $672.00, and 6 more

  4. Fill J2:J13 with the tax withheld at the rate in N3, and K2:K13 with net pay: what actually lands in each person's bank account.

    • J2:J13 =I2*$N$3 then copy it across the range
    • K2:K13 =I2-J2 then copy it across the range

    Shows J2: $170.63, J3: $178.13, J4: $143.50, J5: $159.25, J6: $104.96, J7: $134.40, and 18 more

  5. In N6:N8, total the gross pay for each department. Use one formula that fills down and finds each department's people by itself.

    • N6:N8 =SUMIF($B$2:$B$13,M6,$I$2:$I$13) then copy it across the range

    Shows N6: $3,156.75, N7: $3,004.76, N8: $1,930.85

7. Challenge: customer survey results (Intermediate, 7 min)

  1. In L2:L8, work out the average rating for each statement.

    • L2:L8 =AVERAGE(B2:K2) then copy it across the range

    Shows L2: 4.3, L3: 3.1, L4: 4.0, L5: 3.6, L6: 4.7, L7: 2.9, and 1 more

  2. In M2:M8, show the share of customers who gave each statement a 4 or a 5, as a percentage.

    • M2:M8 =COUNTIF(B2:K2,">=4")/COUNT(B2:K2) then copy it across the range

    Shows M2: 90%, M3: 30%, M4: 70%, M5: 50%, M6: 100%, M7: 20%, and 1 more

  3. In N2:N8, label each statement Satisfied, Neutral or Unhappy from its satisfied share, using the cut-offs in B10:B11. Use IFS rather than nesting IFs.

    • N2:N8 =IFS(M2>=$B$10,"Satisfied",M2>=$B$11,"Neutral",TRUE,"Unhappy") then copy it across the range

    Shows N2: Satisfied, N3: Unhappy, N4: Neutral, N5: Neutral, N6: Satisfied, N7: Unhappy, and 1 more

  4. In B14 and B15, show the text of the statements with the highest and the lowest average. Use formulas, so they update when new responses come in.

    • B14 =INDEX(A2:A8,MATCH(MAX(L2:L8),L2:L8,0))
    • B15 =INDEX(A2:A8,MATCH(MIN(L2:L8),L2:L8,0))

    Shows B14: The repair fixed the problem, B15: The waiting area was comfortable