Hello, Please see the following figures in the imgur link below: http://imgur.com/txqDONS So the situation: I am given anywhere from 1 to X numbers between -0.5 and 0.5. I need to give them weighted percentages based off of how close they are to 0. I think it should look something like: (1/X) * weight And the weight is something like: 1 - abs(difference between red-line value and 0) / 0.5 But that's not quite correct ... Figure 2, the 2 red lines close to the center will have too great a % ... I want all the red line's % to add up to 100% ... Any ideas?