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)
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)
-
Thanks Paul!
This helps.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!