Use countifs to count all projects with a quarter date and year from a date column
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
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"
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
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"
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.7K Get Help
- 371 Global Discussions
- 203 Industry Talk
- 436 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 448 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 282 Events
- 32 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!