countif events from last year

del314
✭
I am trying to count how many event happened last year (2022) as opposed to this year with a countifs, I can't seem to find a countif(ref, year(2022)) or countif(ref,YEAR(@cell)=YEAR[fiscal year]2) with [fiscal year]2=1/1/2022 to be working.
Since the countifs is a number with multiple criteria and I'm also looking in a date range maybe it's missing something?
Any suggestion?
Tags:
Answers
-
=COUNTIFS(ref,YEAR(@cell)=2022)
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!