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
Check out the Formula Handbook template!