View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Bernard is offline
external usenet poster
 
Posts: 30
Default XL how to change a cell reference in a formula to variable value?

I want to change a cell range in a formula to be a variable reference. This
is to allow calculation of a moving average which is selectable. Example
change the moving average from calculation over 10 values (A1:A10) to
calculation over 50 values (A1:A50), without having to go in and change the
formula. In this example the variable value would be 10 to 50 (in say B1).
any ideas?