Recall the weighted average is given by $\sum_{i=1}^n w_i x_i$ where $\sum_{i=1}^n w_i =1$ . You can think of the simple average as a special case of the weighted average where $w_i = \frac{1}{n}$.

Demo

Demo uses regular functions (ENTER) and array functions (CTRL + SHIFT + ENTER).