Percentage Formula Troubleshooting

I am trying to set up a formula to keep track of our events, of which 50% need to be completed within disadvantaged communities. I set up a formula but its not reporting properly. Currently it should be 100% as we have completed two events and both were in disadvantaged communities. What am I doing wrong? Thank you for your help!

=COUNTIF([Disadvantaged Community]:[Disadvantaged Community], true) / COUNT(Completed:Completed, true)

Best Answer

  • SSFeatures
    SSFeatures ✭✭✭✭✭
    Answer ✓

    Hi,

    Try switching the denominator "COUNT" to "COUNTIF":

    =COUNTIF([Disadvantaged Community]:[Disadvantaged Community], true) / COUNTIF(Completed:Completed, true)
    

    Best!

    Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)

    SSFeatures - The browser extension that adds more features into SmartSheet.

    • Report PDF generator that supports grouped and summarized reports
    • Automatic sorting, sorting with filters, saving sort settings
    • Hiding and unhiding columns, and spell checking

Answers

  • SSFeatures
    SSFeatures ✭✭✭✭✭
    Answer ✓

    Hi,

    Try switching the denominator "COUNT" to "COUNTIF":

    =COUNTIF([Disadvantaged Community]:[Disadvantaged Community], true) / COUNTIF(Completed:Completed, true)
    

    Best!

    Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)

    SSFeatures - The browser extension that adds more features into SmartSheet.

    • Report PDF generator that supports grouped and summarized reports
    • Automatic sorting, sorting with filters, saving sort settings
    • Hiding and unhiding columns, and spell checking

  • This worked, thank you so much!!!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!