Formula for Star Rating that Ignores Blank Cells and O Values
I would like to Average the Star Ratings provided by seven people in the Rate Column.
The formula I have in the Rate Column is NOT ignoring blank cells or cells with a 0 value.
The image below shows the hidden columns that are connected to the formula.
=AVG([DH#]@row, [JH#]@row, [RH#]@row, [JM#]@row, [RF#]@row, [KM#]@row, [CY#]@row)
I am not super savvy with formulas. I appreciate any suggestions.
Best Answers
-
Personally, I would reorganize your columns to move all of the hidden columns to the right, so your numerical outputs would be one block from CY# to RH#.
Then, you can use
=AVERAGEIF([CY#]@row:[RH#]@row, >0)
With your current Sheet structure, something like the below might work but I haven't tested it.
=AVG(COLLECT(Cunesha@row:[RH#]@row, Cunesha@row:[RH#]@row, AND(ISNUMBER(@cell), @ cell>0))
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
@Dan Palenchar The first formula worked perfectly! I moved the columns CY# to RH# into a block and plugged in your formula. Thank you 🙌
💯 =AVERAGEIF([CY#]@row:[RH#]@row,
Answers
-
Personally, I would reorganize your columns to move all of the hidden columns to the right, so your numerical outputs would be one block from CY# to RH#.
Then, you can use
=AVERAGEIF([CY#]@row:[RH#]@row, >0)
With your current Sheet structure, something like the below might work but I haven't tested it.
=AVG(COLLECT(Cunesha@row:[RH#]@row, Cunesha@row:[RH#]@row, AND(ISNUMBER(@cell), @ cell>0))
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
@Dan Palenchar The first formula worked perfectly! I moved the columns CY# to RH# into a block and plugged in your formula. Thank you 🙌
💯 =AVERAGEIF([CY#]@row:[RH#]@row,
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 378 Global Discussions
- 208 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!