Excel already knows when the month ends.
AGGREGATE was built to handle messy data from the start.
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results