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
- Customer Resources
- 65.1K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!