Counting the number of projects started in a year
I'm trying to count the number of projects starting in a year. I am using the formula mentioned below -
=COUNTIFS({Portfolio Roll-up - Start Date}, YEAR(@cell) = [Primary Column]@row)
where Primary column has the number "2021".
I am getting an error "#INVALID DATA TYPE". Both the columns (Primary and formula column), are text type columns.
Best Answer
-
Do you have blanks and/or any non-date values within the range (including rows at the bottom of the sheet)? Tyr this...
=COUNTIFS({Portfolio Roll-up - Start Date}, IFERROR(YEAR(@cell), 0) = [Primary Column]@row)
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
-
Do you have blanks and/or any non-date values within the range (including rows at the bottom of the sheet)? Tyr this...
=COUNTIFS({Portfolio Roll-up - Start Date}, IFERROR(YEAR(@cell), 0) = [Primary Column]@row)
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!
-
Thanks Paul!
This helps.
-
Happy to help. 👍️
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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!