I am trying to count the number of rows containing the year 2023 in a column called [Application Year]. The [Application Year] column is returning a 4-digit year (using the YEAR[Date Column] function), where [Date Column] is pulling a date field from another sheet. I have tried a variety of formulas, but none are working, and I'm wondering if it's because it's not reading the 4-digit year as text or a date.
Here are some of the things I've tried:
=COUNTIF([Application Year]:[Application Year], 2023) - This returns a #NOMATCH error
=COUNTIF(CONTAINS("2023", [Application Year]:[Application Year])) - This returns a #INCORRECT ARGUMENT error
I've tried other things, but I have a feeling that whatever is wrong here is wrong with all of them.
Suggestions?