Adding another requirement for Countifs formula

I know this should be easy but I cannot get a good return. The current formula I use is as follows:
=COUNTIFS({Initial Date - POR}, IFERROR(YEAR(@cell), 0) = 2020, {ROT - POR}, 1)
Works fine except I want to add another criteria from the same sheet:
(Status, "Closed")
And since this is a sheet with multiple years, it just counts everything and not just the year when I do get a return.
Help appreciated!
Best Answer
-
You would need to add another cross sheet reference to pull in the status column. Your formula would then be something like this:
=COUNTIFS({Initial Date - POR}, IFERROR(YEAR(@cell), 0) = 2020, {ROT - POR}, 1,{status range},"Closed")
Answers
-
You would need to add another cross sheet reference to pull in the status column. Your formula would then be something like this:
=COUNTIFS({Initial Date - POR}, IFERROR(YEAR(@cell), 0) = 2020, {ROT - POR}, 1,{status range},"Closed")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!