AVERAGE.WEIGHTED

average of values weighted by a second range · from google sheets · no excel equivalent · sheets: not yet compared

signature

AVERAGE.WEIGHTED(values, weights)

returns: number

argumentrequired
values required
weights required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

AB
1 102
2 204
3 306
fx =AVERAGE.WEIGHTED(A1:A3, B1:B3) 23.333333333333332

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =AVERAGE.WEIGHTED(A1:A3, 2)

related

  • AVEDEV average of absolute deviations from the mean
  • AVERAGEA averages values including text and logicals
  • AVERAGEIF averages cells that match a condition
  • AVERAGEIFS averages cells matching multiple conditions
  • BETA.DIST beta distribution
  • BETA.INV inverse of the beta distribution