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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.5K Get Help
- 468 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!