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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!