I have 10 years of monthly data for 300 plants. While Excel can do moving averages for various time periods I am looking to do a moving median value for this data set.
I can obviously figure out the formula through brute force but what I was looking for was the ability to use a formula that can be modified based on the results of another cell.
If the formula I have for a 4 quarter moving median value for the 10 years of data is =median(c3:c951) then the next period would be =median(c952:c1900) etc.
Rather than rewrite each formula in the cells it would seem I should be able to reference a string of numbers or results to replace the actual number in the formula.
Seems to me many years ago i saw that done but of course can’t recall how to do that.
3, 951, 1900
in a series of cells?