Skip to main content
Solved

Rollup Average for Rating field

  • January 18, 2023
  • 5 replies
  • 117 views

Kelly_Vorrasi1
Forum|alt.badge.img+9

Hi Folks, 

I'm trying out using the rating field for a ongoing review process and want to be able to roll up an average of those ratings. I've managed to get the rollup to work but can't get rid of the NaN for fields that don't have ratings yet. I've tried a couple different formulas that I've seen for similar questions but nothing seems to be working. Thanks!

Best answer by lindseypuccio

Sorry, Kelly! Let's do it backwards. 

IF(Average>1, Average) should work!

5 replies

Forum|alt.badge.img+3

You can solution this by rolling the field up, showing NaN, then creating a second field that is a IF formula, removing any items that are NaN. 

IF({Rollup-Field}="NaN", BLANK(), {Rollup-Field})


Kelly_Vorrasi1
Forum|alt.badge.img+9
  • Author
  • Known Participant
  • January 18, 2023

I did try that and it's not working for some reason. Here's a picture of my formula and the two fields in question


Forum|alt.badge.img+3
  • Employee
  • Answer
  • January 18, 2023

Sorry, Kelly! Let's do it backwards. 

IF(Average>1, Average) should work!


Kelly_Vorrasi1
Forum|alt.badge.img+9
  • Author
  • Known Participant
  • January 18, 2023

Sorry, Kelly! Let's do it backwards. 

IF(Average>1, Average) should work!


That worked! Thank you!


Forum|alt.badge.img+2

I wonder if you can have the rollup formatted as "rating" as well (with the stars). Thanks!