AVERAGE.WEIGHTED
The AVERAGE.WEIGHTED function in Google Sheets finds the weighted average of a set of values, given the values and the corresponding weights.
Function Syntax and Parameters
Syntax: AVERAGE.WEIGHTED(values, weights, [additional values], [additional weights])
Parameters:
values: The range of values to consider for the weighted average.weights: The range of weights corresponding to the values.[additional values]: [Optional] Additional ranges of values to consider.[additional weights]: [Optional] Additional ranges of weights corresponding to the additional values.
Step-by-Step Tutorial
-
Using
AVERAGE.WEIGHTEDwith a single set of values and weights:- Example: If
A2:A6contains the values10, 15, 8, 6, 12andB2:B6contains the corresponding weights0.2, 0.3, 0.1, 0.2, 0.2, then=AVERAGE.WEIGHTED(A2:A6, B2:B6)will return10.2.
- Example: If
-
Using
AVERAGE.WEIGHTEDwith multiple sets of values and weights:- Example: If
A2:A6contains the values10, 15, 8, 6, 12,B2:B6contains the corresponding weights0.2, 0.3, 0.1, 0.2, 0.2,D2:D4contains additional values5, 3, 7, andE2:E4contains the corresponding additional weights0.1, 0.2, 0.1, then=AVERAGE.WEIGHTED(A2:A6, B2:B6, D2:D4, E2:E4)will return8.26.
- Example: If
Use Cases and Scenarios
- Grade Calculation: Calculate the weighted average of student exam scores.
- Investment Portfolio: Determine the weighted average return on a portfolio of investments.
- Product Rating: Calculate the weighted average rating of a product based on customer reviews.
Related Functions
AVERAGE: Find the arithmetic mean of a set of values.SUMPRODUCT: Calculate the sum of the products of corresponding values.WEIGHTED_MEAN: An alternative function to calculate the weighted average.