# Is there a formula to get the average of star ratings?

Options
edited 03/17/23

I have a column that is only star ratings. I am trying to the get the average rating of the entire column in a sheet summary field. I tried to just do the average formula for the column and got the #DIVIDE BY ZERO error. Is there a formula that can calculate the average without having to create a helper column to translate the ratings? Thank you!

• ✭✭✭✭✭✭
Options

=(COUNTIF(ratings:ratings, "One") * 1 + COUNTIF(ratings:ratings, "Two") * 2 + COUNTIF(ratings:ratings, "Three") * 1 + COUNTIF(ratings:ratings, "Four") * 4 + COUNTIF(ratings:ratings, "Five") * 5) / COUNTIF(ratings:ratings, ISTEXT(@cell))

😊

• ✭✭✭✭✭✭
Options

=(COUNTIF(ratings:ratings, "One") * 1 + COUNTIF(ratings:ratings, "Two") * 2 + COUNTIF(ratings:ratings, "Three") * 1 + COUNTIF(ratings:ratings, "Four") * 4 + COUNTIF(ratings:ratings, "Five") * 5) / COUNTIF(ratings:ratings, ISTEXT(@cell))

😊

• Options

That worked! Thank you so much!

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!