Formula Help - Count If (percentage complete)
I'm looking help on a formula to find the "Percent Finished", in row 1 column 1, by counting the total number of "Test Status" entries of: "Completed, Previously Enrolled, Enrollment Not Needed, Client Did Not Approve" and Dividing it by the count of "SAP ID"s.
Thanks!
Mary F
Best Answer
-
Hi @Mary Farmer
Looks like you're just missing closing off that OR statement before you use the / operator!
Here's the structure of all the parentheses:
=COUNTIFS(xxx, OR(xxx)) / COUNT(xxx)
Try:
=COUNTIFS([Test Status]:[Test Status], OR(@cell = "Completed", @cell = "Previously Enrolled", @cell = "Enrollment Not Needed", @cell = "Client Did Not Approve")) / COUNT([SAP ID]:[SAP ID])
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Answers
-
Try this...
=COUNTIFS([Test Status]:[Test Status], OR(@cell = "Completed", @cell = "Previously Enrolled", @cell = "Enrollment Not Needed", @cell = "Client Did Not Approve") / COUNT([SAP ID]:[SAP ID])
-
I typed this one in & got an #UNPARSEABLE error:
=COUNTIFS([Test Status]:[Test Status], OR((@cell = "Completed", @cell = "Previously Enrolled", @cell = "Enrollment Not Needed", @cell = "Client Did Not Approve") / COUNT([SAP ID]:[SAP ID])
I pasted this one in & got an #INVALID OPERATION error:
=COUNTIFS([Test Status]:[Test Status], OR(@cell = "Completed", @cell = "Previously Enrolled", @cell = "Enrollment Not Needed", @cell = "Client Did Not Approve") / COUNT([SAP ID]:[SAP ID]))
Thoughts?
Thanks,
Mary
-
Hi @Mary Farmer
Looks like you're just missing closing off that OR statement before you use the / operator!
Here's the structure of all the parentheses:
=COUNTIFS(xxx, OR(xxx)) / COUNT(xxx)
Try:
=COUNTIFS([Test Status]:[Test Status], OR(@cell = "Completed", @cell = "Previously Enrolled", @cell = "Enrollment Not Needed", @cell = "Client Did Not Approve")) / COUNT([SAP ID]:[SAP ID])
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!