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
- 65.4K Get Help
- 447 Global Discussions
- 144 Industry Talk
- 480 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!