I am trying to optimize on an average in a spreadsheet. My result depends on the length of the average. I would like to be able to enter a value in a cell and change the length of an average.
For instance, if the value in the cell is 10, the formula would be =Average(A2:A11), but if the value in the cell is 20, the formula would change to =Average(A2:A21).
The goal is to have one cell that changes the length of all of the average formulas that "call" that cell. Is this possible?
Bookmarks