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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!