Count the number of submissions in a particular year
How can I do a Countif Formula that would collect the employee payroll number and count how many times an agent has been absent for ONLY 2023.
One issue I'm having is collecting previous years, such as 2022. I only want it to count as 2023.
Answers
-
First, you'll need the COUNTIFS() function to put multiple criteria in.
Second, assuming the "date you were absent" column is a date type, you can extract the year from it with the year() function. You'll need to use the @cell operator in your formula as well. This video might help:
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 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!