Skip to content

10AM–5PM by appt.
24h urgent appts

📞 0279-088880

All prices include GST

Cart
0 items

Computer Repair Guides

Sum One Calendar Day in Excel Without Dropping Its Afternoon Records

by AEPC / AKL East PC 28 Sep 2026

A timestamp includes more information than the date shown by its number format. A record displayed as 28 September may contain a time later that day. Testing it for equality with midnight can therefore miss records that belong in the daily total.

Start with genuine numeric Excel dates and times, rather than date-looking text. Excel represents time as a fraction of a day. Decide which calendar day the source timestamps represent before calculating; a formula cannot resolve an undocumented time-zone convention.

Set a start boundary and an exclusive end boundary

Suppose timestamps occupy A2:A5 and quantities occupy B2:B5. Put the intended date, with no time component, in F1. In a separate output cell, use:

=SUMIFS(B2:B5,A2:A5,">="&F1,A2:A5,"<"&(F1+1))

The first condition includes the start of F1’s day. The second stops before the next day begins. SUMIFS adds quantities whose corresponding timestamp satisfies both conditions. Keep every range aligned to the same rows; Microsoft requires the criteria ranges and sum range to have matching dimensions.

The quoted comparison operator is joined to the cell value with &. It is not a comparison against the literal text F1. Formula examples here use commas as argument separators; use the separator required by your Excel locale.

Prove both midnight edges

In a disposable sheet, create four timestamp values using =F1, =F1+0.5, =F1+1-1/86400 and =F1+1 in A2:A5. These represent the start, midday, the final second, and the next midnight. Enter respective quantities 2, 3, 5 and 7 in B2:B5.

The expected total is 10: the first three records belong to the selected day, while the next midnight does not. Display enough date-and-time detail to inspect the test values rather than hiding every time component behind a date-only format.

Apply the rule to a limited real sample and compare its included records manually. Confirm that F1 has no accidental time and that the formula range reaches the newest records. Keep the reporting day and source time convention beside the result so a later reader knows exactly which interval the number describes.

Sources: Microsoft SUMIFS; Microsoft date and time values; Microsoft criteria references.

Prev Post
Next Post

Thanks for subscribing!

This email has been registered!

Shop the look

Choose Options

Edit Option
Terms & Conditions
Unless otherwise stated, brand new accessories are guaranteed for one year. Second-hand parts are guaranteed for three months. Repair (hardware) is guaranteed for one month. The software is not covered by the warranty, you should contact the software development organization for technical support and after-sales service. The warranty is limited to the same position fault; the customer should provide the warranty with the complete Warranty sticker and the receipt of payment. Otherwise, it will not be guaranteed. (If the warranty label is damaged for any reason, is not covered by warranty.) Returns and refunds Please read our Return & Refund Policy for the current return timeframe, conditions, fees, return methods and refund processing time.
this is just a warning
Login
Shopping Cart
0 items