Adding this months total and same month last year
Options
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!