Calculating Percentage in "Administrative Column")
Good day Smarters,
Any help would be appreciated.
I have three columns
- Status Column with Symbols: RED, Green and Yellow
- Category of Staff column which is a drop down, one of which is Administrative Staff among others
- Administrative Staff Column (fixed) to indicate my calculation(%) below
Question: How do I create a formula to reflect the % of Administrative Staff which are Green and Yellow? i.e (Green + Yellow)/ (Green + Yellow + Red).
Thanks in advance
Best Answer
-
You would use a COUNTIFS to get the count of green and yellow then divide it by another COUNTIFS that counts all rows. It would look something like the below:
=COUNTIFS(Category:Category, @cell = "Administrative Staff", Status:Status, OR(@cell = "Green", @cell = "Yellow")) / COUNTIFS(Category:Category, @cell = "Administrative Staff")
Answers
-
You would use a COUNTIFS to get the count of green and yellow then divide it by another COUNTIFS that counts all rows. It would look something like the below:
=COUNTIFS(Category:Category, @cell = "Administrative Staff", Status:Status, OR(@cell = "Green", @cell = "Yellow")) / COUNTIFS(Category:Category, @cell = "Administrative Staff")
-
Thanks much. Works like a charm
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!