Counting # rows submitted in a particular month and year
Hello, my current formula only counts what month a row was submitted but not the year. How can I get the formula to also count the row if it happened in January of the current year?
=COUNTIF({Date Submitted}, IFERROR(MONTH(@cell), 0) = 1)
Tags:
Best Answer
-
=COUNTIFS([Date Submitted]:[Date Submitted], IFERROR(MONTH(@cell), 0) = 1, [Date Submitted]:[Date Submitted], IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))
Answers
-
=COUNTIFS({Date Submitted}, ISDATE(@cell), {Date Submitted}, YEAR(@cell) = YEAR(TODAY()), {Date Submitted}, MONTH(@cell) = 1)
-
=COUNTIFS([Date Submitted]:[Date Submitted], IFERROR(MONTH(@cell), 0) = 1, [Date Submitted]:[Date Submitted], IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))
-
@Carson Thank you!😊
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!