Hello!
I don't think it's possible to do this via SUMIF, but you can definitely do it with SUMIFS.
SUMIFs function in Excel allows for multiple conditions, so basically, just put the 2 dates in between as criterias then you can already do this solution.
I actually learned to do SUMIFs he
https://www.efinancialmodels.com/kno...tion-in-excel/
Hope this helps!