CountIF with multiple Criteria
I'm trying to count the number of rows in a column with a certain criteria only for dates in 2024.
This is my formula: =COUNTIFS([Request Type]:[Request Type], "Payroll") AND([Date]:[Date], IFERROR(YEAR(@cell), 0) = 2024)
But I'm getting an unparseable message.
Best Answer
-
The formula below should work for you.
=COUNTIFS([Request Type]:[Request Type], "Payroll", [Date]:[Date], YEAR(@cell) = 2024)
Cheers,
John
Answers
-
The formula below should work for you.
=COUNTIFS([Request Type]:[Request Type], "Payroll", [Date]:[Date], YEAR(@cell) = 2024)
Cheers,
John
-
Yes it works!! Thank you!!
-
You're welcome.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 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!