Hey folks, I was able to fix the trouble. There were few areas were there were missing values
Ceiling( (Col Rank( :weight ) / Col Number( :weight )) * 10 )
I think this is quite an elegant solution. An example with the big class data table is attached.
There are no labels assigned to this post.