SumIFS with YTD and Month
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)")
Your help is greatly appreciate.
Thank you
Best Answers
-
Hi @Ivan Perez
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
-
Alternatively
SUMIFS({Cure Amount}, {Date}, AND(IFERROR(YEAR(@cell), 0) = 2021, IFERROR(MONTH(@cell), 0) = 1), {Branch}, "Triad (800)")
Answers
-
Hi @Ivan Perez
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
-
Alternatively
SUMIFS({Cure Amount}, {Date}, AND(IFERROR(YEAR(@cell), 0) = 2021, IFERROR(MONTH(@cell), 0) = 1), {Branch}, "Triad (800)")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!