Hi,
Im wondering if it's possible to write a code to record a moving range in column D taking into consideration only the LAST 30 entries? Hopefully Im explaining myself correctly.
If column has say 50 values, I would like Cell E1 to show the latest calculated moving range.
In this instance the moving range would be:
range of D21:D22
range of D22:D23
range of D23:D24
etc
Then the sum of these ranges, and divided by 30.
This value is then put into Cell E1.
When its running if I have 100 entries, I still get the overall average range but only for the 70th to 100th entry.
Plz help...it's killing me..
I have done it before, but when I did it I had to write individual formulas and have a table of raw calculations. Also I had to keep manually copying the formula down ready for the next entry....
Was really hoping there is an easier way.
thanks loads
dave
Im wondering if it's possible to write a code to record a moving range in column D taking into consideration only the LAST 30 entries? Hopefully Im explaining myself correctly.
If column has say 50 values, I would like Cell E1 to show the latest calculated moving range.
In this instance the moving range would be:
range of D21:D22
range of D22:D23
range of D23:D24
etc
Then the sum of these ranges, and divided by 30.
This value is then put into Cell E1.
When its running if I have 100 entries, I still get the overall average range but only for the 70th to 100th entry.
Plz help...it's killing me..
I have done it before, but when I did it I had to write individual formulas and have a table of raw calculations. Also I had to keep manually copying the formula down ready for the next entry....
Was really hoping there is an easier way.
thanks loads
dave