Exclusive end date
=SUMIFS(B2:B,A2:A,">="&E2,A2:A,"<"&F2)Leaves the end date out.
Add amounts whose dates fall inside a start and end date.
Add amounts whose dates fall inside a start and end date. Use =SUMIFS(B2:B,A2:A,">="&E2,A2:A,"<="&F2), then replace the sample ranges with the columns in your sheet.
SUMIFS applies the lower and upper date bounds to the date column.
| A | B | |
|---|---|---|
| 1 | Date | Amount |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
=SUMIFS(B2:B,A2:A,">="&E2,A2:A,"<"&F2)Leaves the end date out.
=SUMIFS(B2:B,A2:A,">="&EOMONTH(TODAY(),-1)+1,A2:A,"<="&EOMONTH(TODAY(),0))Uses the current calendar month.
=SUMIFS(B2:B,A2:A,">="&E2,A2:A,"<="&F2,C2:C,G2)Limits the total to one category.
Convert the date column to real dates before using SUMIFS.
Check that both date cells contain valid dates.
Convert the date column to real dates before using SUMIFS.
Check that both date cells contain valid dates.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.