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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!