Use countifs to count all projects with a quarter date and year from a date column
Mathew Palter
✭✭✭✭
my current formula is =countifs({sheet reference}, ROUNDUP(MONTH(@cell)/3) = "4", {sheet reference}, Year(@cell) = "2022"
I have ensured the column from the reference is a date column, however I am given invalid data type as an error
Tags:
Best Answer
-
It sounds like you may have blanks and/or non-date values in the date column. Try a couple of IFERRORS like so:
=countifs({sheet reference}, ROUNDUP(IFERROR(MONTH(@cell), 0)/3) = "4", {sheet reference}, IFERROR(Year(@cell), 0) = "2022"
Answers
-
It sounds like you may have blanks and/or non-date values in the date column. Try a couple of IFERRORS like so:
=countifs({sheet reference}, ROUNDUP(IFERROR(MONTH(@cell), 0)/3) = "4", {sheet reference}, IFERROR(Year(@cell), 0) = "2022"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 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!