# SumIFS with YTD and Month

Options
✭✭✭

Hello, I am trying to summarize the total of cures by branch, by year and month below is the formula I am trying to use.

SUMIFS({Cure Amount}, {Date}, IFERROR(YEAR(@cell), 0) = 2021, IFERROR(MONTH(@cell), 0) = 1, {Branch}, "Triad (800)")

Thank you

• ✭✭✭✭✭✭
Options

The formula is missing a range. Each term has to be paired with a range, even if the range is same as previous range.

=SUMIFS({Cure Amount}, {Date}, IFERROR(YEAR(@cell), 0) = 2021, {Date}, IFERROR(MONTH(@cell), 0) = 1, {Branch}, "Triad (800)")

cheers,

Kelly

• ✭✭✭✭✭✭
Options

Alternatively

SUMIFS({Cure Amount}, {Date}, AND(IFERROR(YEAR(@cell), 0) = 2021, IFERROR(MONTH(@cell), 0) = 1), {Branch}, "Triad (800)")

• ✭✭✭✭✭✭
Options

The formula is missing a range. Each term has to be paired with a range, even if the range is same as previous range.

=SUMIFS({Cure Amount}, {Date}, IFERROR(YEAR(@cell), 0) = 2021, {Date}, IFERROR(MONTH(@cell), 0) = 1, {Branch}, "Triad (800)")

cheers,

Kelly

• ✭✭✭✭✭✭