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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!