I'm calculating a weighted average using the sumproduct function as follows: =SUMPRODUCT(L13:L20, $V$25:$V$32)/SUM($V$25:$V$32). Where the values are in the L column and the weights are in the V column.
The problem is that sometimes there's an empty cell in the L column, which really scews the weighted average. I'd like the function to either calculate the weighted average for the cells that do have a value, or it would also be fine if the outcome of the function just shows a problem because on or more of the cells in column L are empty.
I can't seem to fix it, any help is appreciated.
Bookmarks