Adding this months total and same month last year
Hi,
would someone be able to tell me why this formula doesn't work?
=SUMIFS([Total IN]:[Total IN], Date:Date, AND(IFERROR(MONTH(@cell), 0) = Month1), IFERROR(YEAR(@cell), 0) = >Year1))
the goal is to have it sum this months total and the same month last year.
month1 refers to a column for this month
year refers to a column that is this year -1
thanks
Answers
-
Try something like this...
=SUMIFS([Total IN]:[Total IN], Date:Date, AND(IFERROR(MONTH(@cell), 0) = MONTH(TODAY()), OR(IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), IFERROR(YEAR(@cell), 0) = YEAR(TODAY()) - 1)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!