Weighted Mean

Calculates the weighted mean as Σ(value × weight) ÷ Σweight. It is used for grades with different credits, or classes of different sizes. List the same number of values and weights.