CountIF Formuale help to get the %
Hi, Please consider this scenario
How do I write the formulae to calculate
Best Answer
-
Thanks a lot Nick for your help
I replaced my older formulae
=AVG((IF([Team Deployment]@row <> "Not Applicable", (COUNTM([Team Deployment]@row) / 3), "0")), (IF([IC Plan Development]@row <> "Not Applicable", (COUNTM([IC Plan Development]@row) / 3), "0")), (IF([Identify Risk Metrics]@row <> "Not Applicable", (COUNTM([Identify Risk Metrics]@row) / 3), "0")), (IF([Identify Performance KPIs]@row <> "Not Applicable", (COUNTM([Identify Performance KPIs]@row) / 3), "0")))
with the one you shared and it works wonders. Thanks again.
Answers
-
I'm not sure where the 83% comes into play (7/9 = 78%), and should the final KPI column header be 4 instead of 3?
If so, the following formula would give you the percentage (with the column set to %):
=IFERROR((COUNTIF([KPI 1]@row:[KPI 4]@row, CONTAINS("On Time", @cell)) + COUNTIF([KPI 1]@row:[KPI 4]@row, CONTAINS("At Quality", @cell)) + COUNTIF([KPI 1]@row:[KPI 4]@row, CONTAINS("To Budget", @cell))) / (COUNTIF([KPI 1]@row:[KPI 4]@row, OR(CONTAINS("On Time", @cell), CONTAINS("At Quality", @cell), CONTAINS("To Budget", @cell))) * 3), "")
If you have less than 4 KPIs, this will also calculate the percentage for as many as you have filled in rather than needing to put Not Applicable.
-
Thanks a lot Nick for your help
I replaced my older formulae
=AVG((IF([Team Deployment]@row <> "Not Applicable", (COUNTM([Team Deployment]@row) / 3), "0")), (IF([IC Plan Development]@row <> "Not Applicable", (COUNTM([IC Plan Development]@row) / 3), "0")), (IF([Identify Risk Metrics]@row <> "Not Applicable", (COUNTM([Identify Risk Metrics]@row) / 3), "0")), (IF([Identify Performance KPIs]@row <> "Not Applicable", (COUNTM([Identify Performance KPIs]@row) / 3), "0")))
with the one you shared and it works wonders. Thanks again.
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
Check out the Formula Handbook template!