Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMPRODUCT(A2:A4,B2:B4)/SUM(B2:B4)Computed by a real spreadsheet engine on the sample data below.
| Value | Weight |
| 120 | 1 |
| 135 | 2 |
| 142 | 3 |
=SUMPRODUCT(A2:A4,B2:B4)/SUM(B2:B4)→136
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
A WMA uses explicit fixed weights you define, making it transparent and simple. An EMA applies a smoothing factor recursively, incorporating all past data with exponentially decaying influence — useful for financial time series.
Yes — hardcode the weights as an array: =SUMPRODUCT(A2:A4,{1,2,3})/6. This works in both Excel and Sheets but is less flexible when you want to change weights later.
Use the AVERAGE function to calculate the arithmetic mean of a range of numbers in Excel or Google Sheets.
How-toUse AVERAGEIF with a "<>0" criterion to calculate an average that excludes zero values from the calculation.
How-toAVERAGE naturally ignores blank cells; use AVERAGEIF with "<>" to also ignore text placeholders like dashes.
How-toUse AVERAGEIF to compute the mean of values in one column where a corresponding column meets a specified criterion.
How-toCompute a rolling average for each row using AVERAGE with a fixed-window OFFSET or INDEX formula anchored to each row.
How-toUse the MEDIAN function to find the middle value in a dataset — the value that half the data falls above and half below.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: