COUNTIF Formula
Good afternoon, I am trying to count the # of a specific category on a different sheet by YTD. Here is the formula I am trying to use. =COUNTIF({Category}, "Procedure", {Date},IFERROR(@cell),0)=YEAR(TODAY())). Not sure what I am doing wrong. Your help will be greatly appreciated. Thank you
Best Answer
-
A small tweak with a change of Function. COUNTIFS (plural) is required when you have more than one criteria. Personally, I always use the COUNTIFS (plural) function since it can always be used regardless of how many criteria is needed.
=COUNTIFS({Category}, @cell = "Procedure", {Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))
cheers,
Kelly
Answers
-
A small tweak with a change of Function. COUNTIFS (plural) is required when you have more than one criteria. Personally, I always use the COUNTIFS (plural) function since it can always be used regardless of how many criteria is needed.
=COUNTIFS({Category}, @cell = "Procedure", {Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))
cheers,
Kelly
-
Thank you very much for your help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!