File and sharing · Short guide

Why does SUMIFS miss transactions on the last day of the month?

Braxorn · Last updated 2026-11-22 · English

A date shown without a time can still contain a timestamp. An upper bound of January 31 means midnight at the start of that day, so later sales may be excluded.

What to do

Display both date and time in the source. With dates in A and amounts in B use =SUMIFS(B2:B100,A2:A100,">="&DATE(2026,1,1),A2:A100,"<"&DATE(2026,2,1)). The exclusive upper bound includes the whole final day.

Example and result check

Enter 10 at midnight on January 31, 20 at 15:30 that day and 40 at midnight on February 1. January must total 30. Check for text dates if it still falls short.

Related guide