Hi,
I am trying to figure out an efficient formula for a weighted average of a long series of numbers:
([Mercer #1: Weighting]*[Mercer 1 Base 25th %ile]) + ([Mercer #2: Weighting]*[Mercer 2 Base 25th %ile])+……)/([Mercer #1: Weighting]+[Mercer #2: Weighting]+………)
The problem is, there are null values for many of the “Base 25%ile” numbers and therefore the weighted average does not calculate unless there are values for all the “Base 25%ile” fields. Ideally, the formula would just average the fields in which there are numerical values and ignore the rest. Is there an efficient way to rewrite the above formula? My first thought is to do a isNull check for every “base 25 %ile” but this formula would get very complicated and long since there are many fields we would have to check for. Any advice would be greatly appreciated!!
Thank you!
Sarah