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
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.6K Ideas & Feature Requests
- 56 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 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!