

In the formula bar, click to the right of the closing parenthesis for the formula, and then type / For example, start typing SUMPRODUCT.Ĭlick the box next to array1, and then on the sheet, select cells B2 through B7 (the values in the Price Per Unit column).Ĭlick the box next to array2, and then on the sheet, select cells C2 through C7 (the values in the Number of Units Ordered column). Tip: To quickly find a function, click the Search for a function box, and then start typing the function name. In the Formula Builder list, scroll down and double-click SUMPRODUCT.

On the Formulas tab, click Insert Function to open the Formula Builder pane. Select cell A9, which is the cell to the left of the cell that contains the text "Average price per unit."

This example calculates the average price paid for a unit across all orders, where each order is for a different number of units at a different price per unit. For example, select A2, A4, and A7, and then press RETURN.Įxcel replaces the selected range reference in the AVERAGE function with cell references for the cells that you selected. Hold down the key and click the cells that you want to average, and then press RETURN. In the Formula Bar, select the content between the parentheses, which is A2:A7 if you're using the sample data. The formula is displayed in the formula bar, =AVERAGE(A2:A7) if you're using the sample data.

On the Formulas tab, click the arrow next to AutoSum, click Average, and then press RETURN.Ĭlick the cell that contains the average that you just created, cell A8 in this example. Select the cell where you want the average to appear, such as cell A8, which is the cell to the left of the cell that contains the text "Average unit quality" in the sample data. On the Formulas tab, click the arrow next to AutoSum, and then click Average.Ĭalculate the average for nonadjacent cells Select cells A2 through A7 (the values in the Unit Quality column). In the sheet, select cell A1, and then press + V. A, B, C.) when you copy the sample data to a blank sheet.Īverage quality for all units rated above 5 Note: Do not select the row or column headings (1, 2, 3.
