Add and count

Add up numbers for one month

=SUMPRODUCT((MONTH(A2:A5)=E2)*B2:B5)

How it works in Excel

The idea in general

Sort the receipts into one month's pile, then add up that pile.

What I assumed

Check the result on your own data before relying on it.

Related

Ask another question