Number of Dates in a Column
Ed Gadd
✭✭✭✭
I'm looking for a simple formula to count dates contained with a month and year.
The date format is set up as such: 01/11/2023
I've read plenty of advice on this one but I cant find any entry with a clear answer to this question.
Currently I'm at
=COUNTIFS({START DATE}, Date:Date, MONTH(@cell) = 11, Date:Date, YEAR(@cell) = 2022)
Am I close or no where near? Any help would be much appreicated.
Best Answer
-
Your syntax would be more along the lines of
=COUNTIFS({START DATE}, AND(IFERROR(MONTH(@cell), 0) = 11, IFERROR(YEAR(@cell), 0) = 2022))
Answers
-
Your syntax would be more along the lines of
=COUNTIFS({START DATE}, AND(IFERROR(MONTH(@cell), 0) = 11, IFERROR(YEAR(@cell), 0) = 2022))
-
Works great, thank you
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 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!