Excel stores times as fractions of a day, so a SUM of durations that passes 24 hours wraps around to clock time unless the result cell is formatted with [h]:mm. An AI-written SUM can be correct while its cell shows 4:15 instead of 28:15, because the default time format drops the extra day. Check the format on the total cell, not just the formula.
What you need
- The AI-written SUM formula over time values
- The durations being added, with their total known
- A hand-added total of the durations
Step 1: Add the durations by hand
Add the hours and minutes of the durations separately and write down the true total. If it is over 24 hours, the cell needs the elapsed-time format.
Step 2: Read the format on the total cell
Select the total cell and check its number format. A plain h:mm format shows clock time and hides whole days; the format must be [h]:mm to show hours past 24.
Step 3: Apply [h]:mm and compare with the hand total
Open Format Cells, choose Custom, type [h]:mm and confirm. The displayed total must now match the hand total exactly.
Worked example: synthetic shift durations
The table below is a synthetic example. It shows the expected result of checking an AI-written SUM of durations; no formula was run.
| Check | Value | Result |
|---|---|---|
| Durations added | 12:45 + 15:30 | Two shifts |
| True total by hand | 28:15 | 28 hours 15 minutes |
| Cell shows as written | 4:15 | Clock format hides a day |
| Cell after [h]:mm | 28:15 | Matches the hand total |
Expected result (UNTESTED). the SUM of 12:45 and 15:30 is 28:15 by hand, but the cell shows 4:15 in a plain time format; applying [h]:mm shows 28:15, matching the hand total. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- The [h]:mm format changes only the display; the stored value is the same either way.
- A duration entered as text, such as “12:45” in a text cell, is not added by SUM at all.
- Negative durations show as hash marks in the 1900 date system, so check the sign of the inputs.
- The same wrap-around applies to a subtraction that crosses midnight unless the date is included.
![Schematic with three steps: Add the durations by hand; Read the format on the total cell; Apply [h]:mm and compare with the hand.](https://newtoolradar.com/wp-content/uploads/2026/12/check-ai-duration-sum-over-24h-format-1024x700.png)