For teachers / Answer key

Answer key: Time & Schedules

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. How Excel stores times (Beginner, 4 min)

  1. First, a look behind the format. B9 has no number format. Type =B5 there to see what Excel really stores for Otis's 12:00 PM pickup.

    • B9 =B5

    Shows B9: 0.5

  2. When does each dog get home? In D2:D7, add the walk to the pickup time. TIME(0, C2, 0) turns the minutes in C2 into a time (0 hours, C2 minutes, 0 seconds), so use =B2+TIME(0, C2, 0).

    • D2:D7 =B2+TIME(0, C2, 0) then copy it across the range

    Shows D2: 0.34375, D3: 0.388888889, D4: 0.46875, D5: 0.527777778, D6: 0.628472222, D7: 0.715277778

  3. Decimals mean nothing to a dog owner. Select D2:D7 and pick Time from the number-format menu in the toolbar.

    • D2:D7 Number format h:mm AM/PM
  4. The booking app wants the drop-off hour and minute in separate columns. In E2:E7, use HOUR on the drop-off time in column D. In F2:F7, use MINUTE.

    • E2:E7 =HOUR(D2) then copy it across the range
    • F2:F7 =MINUTE(D2) then copy it across the range

    Shows E2: 8, E3: 9, E4: 11, E5: 12, E6: 15, E7: 17, and 6 more

2. Timesheets and hours worked (Intermediate, 5 min)

  1. Start simple. In D2:D6, subtract each start time from its end time.

    • D2:D6 =C2-B2 then copy it across the range

    Shows D2: 8:30, D3: 7:45, D4: 8:45, D5: ########, D6: ########

  2. Fix the late shifts. Change D2 to =MOD(C2-B2, 1), then fill it down to D6 again.

    • D2:D6 =MOD(C2-B2, 1) then copy it across the range

    Shows D2: 8:30, D3: 7:45, D4: 8:45, D5: 8:15, D6: 7:45

  3. Payroll wants decimal hours: 8.5, not 8:30. A day has 24 hours, so in E2:E6, multiply each shift by 24.

    • E2:E6 =D2*24 then copy it across the range

    Shows E2: 8.50, E3: 7.75, E4: 8.75, E5: 8.25, E6: 7.75

  4. Total the week. In D8, SUM the shifts in column D. Then in E8, SUM the decimal hours in column E.

    • D8 =SUM(D2:D6)
    • E8 =SUM(E2:E6)

    Shows D8: 17:00, E8: 41.00

  5. D9 uses the [h]:mm format. The square brackets let the hours keep counting past 24. Show the week total there by pointing at D8.

    • D9 =D8

    Shows D9: 41:00

3. Pay and overtime (Intermediate, 5 min)

  1. Start with basic pay, as if every hour earned the normal rate. In C2:C7, multiply the hours by the hourly rate in B10. Lock it as $B$10 so it stays put as you fill down.

    • C2:C7 =B2*$B$10 then copy it across the range

    Shows C2: $712.25, C3: $818.63, C4: $740.00, C5: $860.25, C6: $587.38, C7: $777.00

  2. Regular hours stop at the threshold in B11. In D2:D7, use MIN to take whichever is smaller: the agent's hours or the threshold.

    • D2:D7 =MIN(B2, $B$11) then copy it across the range

    Shows D2: 38.50, D3: 40.00, D4: 40.00, D5: 40.00, D6: 31.75, D7: 40.00

  3. Now the overtime. In E2:E7, subtract the threshold in B11 from the hours, wrapped in MAX(0, …) so anyone under the threshold gets 0 rather than a negative number.

    • E2:E7 =MAX(0, B2-$B$11) then copy it across the range

    Shows E2: 0.00, E3: 4.25, E4: 0.00, E5: 6.50, E6: 0.00, E7: 2.00

  4. Overtime pays the hourly rate times the multiplier in B12. In F2:F7, add regular hours × rate to overtime hours × rate × multiplier.

    • F2:F7 =D2*$B$10+E2*$B$10*$B$12 then copy it across the range

    Shows F2: $712.25, F3: $857.94, F4: $740.00, F5: $920.38, F6: $587.38, F7: $795.50

  5. A new contract starts overtime after 37.5 hours. Change B11 to 37.5 and watch the last three columns update.

    • B11 37.5

    Shows B11: 37.5

4. Weeks, months and quarters in reports (Intermediate, 6 min)

  1. In D2:D11, find the week number of each job with =WEEKNUM(A2, 2). The 2 starts each week on Monday, just like the 2 in WEEKDAY.

    • D2:D11 =WEEKNUM(A2, 2) then copy it across the range

    Shows D2: 3, D3: 8, D4: 10, D5: 11, D6: 13, D7: 16, and 4 more

  2. In E2:E11, label each job with its month's short name using =TEXT(A2, "mmm").

    • E2:E11 =TEXT(A2, "mmm") then copy it across the range

    Shows E2: Jan, E3: Feb, E4: Mar, E5: Mar, E6: Mar, E7: Apr, and 4 more

  3. A quarter is three months, so the quarter is the month divided by 3, rounded up. In F2:F11, build labels like Q1 with ="Q"&ROUNDUP(MONTH(A2)/3, 0).

    • F2:F11 ="Q"&ROUNDUP(MONTH(A2)/3, 0) then copy it across the range

    Shows F2: Q1, F3: Q1, F4: Q1, F5: Q1, F6: Q1, F7: Q2, and 4 more

  4. The spring offer ran from the date in I2 to the date in I3. In I4, use COUNTIFS to count the jobs dated on or after I2 and on or before I3.

    • I4 =COUNTIFS(A2:A11, ">="&I2, A2:A11, "<="&I3)

    Shows I4: 5

  5. In I5, total the prices of the same jobs with SUMIFS. The price column comes first, then the same two date conditions.

    • I5 =SUMIFS(C2:C11, A2:A11, ">="&I2, A2:A11, "<="&I3)

    Shows I5: $260