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)
First, a look behind the format.
B9has no number format. Type=B5there to see what Excel really stores for Otis's 12:00 PM pickup.B9=B5
Shows B9: 0.5
When does each dog get home? In
D2:D7, add the walk to the pickup time.TIME(0, C2, 0)turns the minutes inC2into 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
Decimals mean nothing to a dog owner. Select
D2:D7and pick Time from the number-format menu in the toolbar.D2:D7Number format h:mm AM/PM
The booking app wants the drop-off hour and minute in separate columns. In
E2:E7, useHOURon the drop-off time in column D. InF2:F7, useMINUTE.E2:E7=HOUR(D2)then copy it across the rangeF2: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)
Start simple. In
D2:D6, subtract each start time from its end time.D2:D6=C2-B2then copy it across the range
Shows D2: 8:30, D3: 7:45, D4: 8:45, D5: ########, D6: ########
Fix the late shifts. Change
D2to=MOD(C2-B2, 1), then fill it down toD6again.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
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*24then copy it across the range
Shows E2: 8.50, E3: 7.75, E4: 8.75, E5: 8.25, E6: 7.75
Total the week. In
D8,SUMthe shifts in column D. Then inE8,SUMthe decimal hours in column E.D8=SUM(D2:D6)E8=SUM(E2:E6)
Shows D8: 17:00, E8: 41.00
D9uses the [h]:mm format. The square brackets let the hours keep counting past 24. Show the week total there by pointing atD8.D9=D8
Shows D9: 41:00
3. Pay and overtime (Intermediate, 5 min)
Start with basic pay, as if every hour earned the normal rate. In
C2:C7, multiply the hours by the hourly rate inB10. Lock it as$B$10so it stays put as you fill down.C2:C7=B2*$B$10then copy it across the range
Shows C2: $712.25, C3: $818.63, C4: $740.00, C5: $860.25, C6: $587.38, C7: $777.00
Regular hours stop at the threshold in
B11. InD2:D7, useMINto 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
Now the overtime. In
E2:E7, subtract the threshold inB11from the hours, wrapped inMAX(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
Overtime pays the hourly rate times the multiplier in
B12. InF2:F7, add regular hours × rate to overtime hours × rate × multiplier.F2:F7=D2*$B$10+E2*$B$10*$B$12then copy it across the range
Shows F2: $712.25, F3: $857.94, F4: $740.00, F5: $920.38, F6: $587.38, F7: $795.50
A new contract starts overtime after 37.5 hours. Change
B11to37.5and watch the last three columns update.B1137.5
Shows B11: 37.5
4. Weeks, months and quarters in reports (Intermediate, 6 min)
In
D2:D11, find the week number of each job with=WEEKNUM(A2, 2). The2starts each week on Monday, just like the2inWEEKDAY.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
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
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
The spring offer ran from the date in
I2to the date inI3. InI4, useCOUNTIFSto count the jobs dated on or afterI2and on or beforeI3.I4=COUNTIFS(A2:A11, ">="&I2, A2:A11, "<="&I3)
Shows I4: 5
In
I5, total the prices of the same jobs withSUMIFS. The price column comes first, then the same two date conditions.I5=SUMIFS(C2:C11, A2:A11, ">="&I2, A2:A11, "<="&I3)
Shows I5: $260