Simple Moving Average Formula Issues

Mathman

Board Regular
Joined
Jan 28, 2017
Messages
152
Office Version
  1. 2016
Platform
  1. Windows
Hi

I'm trying to find a way to get a simple Moving Average without excess cell recalculation and I'm running into something that seems odd. I'm hoping someone can highlight my mistake.

Example. 10 Moving average is simple if you use the average function but this creates many duplicates that can slow down recalculation times. Bellow is an example of what I have to overcome so many recalculation but what is odd is that I get the impression excel might automatically be rounding numbers when the average function is used? But the results seem random.

Please help......

ABCDEFGH
Prices10 Day Avg.FormulaFormulaFormula
1.0001.003AVERAGE(A3:A12)10.030SUM(A5:A14)1.003D5/10TRUE
1.0100.9989.980SUM(D5-A5+A15)0.998TRUE
1.0300.9939.9300.993TRUE
1.0600.9859.8500.985TRUE
1.0300.9749.7400.974TRUE
1.0300.9689.6800.968TRUE
1.0400.9689.6800.968TRUE
0.9800.9689.6800.968TRUE
0.9200.9649.6400.964TRUE
0.9300.9689.6800.968TRUE
0.9500.9719.7100.971TRUE
0.9600.9759.7500.975TRUE
0.9500.9789.7800.978TRUE
0.9500.9849.8400.984TRUE
0.9700.9899.8900.989TRUE
1.0300.9939.9300.993TRUE
1.0400.9949.9400.994TRUE
0.9400.9960000000000009.9600.996000000000001FALSE
0.9601.00610.0601.006TRUE
0.9601.01710.1701.017TRUE
0.9901.03010.3001.030TRUE
0.9901.03810.3801.038TRUE
1.0101.04410.4401.044TRUE
1.0001.04510.4501.045TRUE
1.0101.05310.5301.053TRUE
1.0401.05210.5201.052TRUE
1.0601.05310.5301.053TRUE
1.0401.05010.5001.050TRUE
1.0701.05210.5201.052TRUE
1.0901.05210.5201.052TRUE
1.0701.04610.4601.046TRUE
1.0501.04410.4401.044TRUE
1.0201.04410.4401.044TRUE
1.0801.04310.4301.043TRUE
1.0001.03710.3701.037TRUE
1.0501.03710.3701.037TRUE
1.0301.03410.3401.034TRUE
1.0601.03110.3101.031TRUE
1.0701.02610.2601.026TRUE
1.0301.02410.2401.024TRUE
1.0501.02710.2701.027TRUE
1.0501.02110.2101.021TRUE
1.0101.01510.1501.015TRUE
1.0201.01810.1801.018TRUE
1.0001.02110.2101.021TRUE
1.0201.02810.2801.028TRUE
1.0001.03510.3501.035TRUE
1.0101.04410.4401.044TRUE
1.0501.05110.5101.051TRUE
1.0601.05310.5301.053TRUE
0.9901.05010.5001.050TRUE
0.9901.05610.5601.056TRUE
1.0401.06210.6201.062TRUE
1.0501.06410.6401.064TRUE
1.0701.06410.6401.064TRUE
1.0901.06410.6401.064TRUE
1.0901.06210.6201.062TRUE
1.0801.05510.5501.055TRUE
1.0701.05510.5501.055TRUE
1.0301.06110.6101.061TRUE
1.0501.06410.6401.064TRUE
1.0501.06210.6201.062TRUE
1.0601.06010.6001.060TRUE
1.0501.05510.5501.055TRUE
1.0701.05110.5101.051TRUE
1.0701.04210.4201.042TRUE
1.0201.03710.3701.037TRUE
1.0801.03610.3601.036TRUE
1.1301.02710.2701.027TRUE
1.0601.01310.1301.013TRUE
1.0301.00610.0601.006TRUE
1.0301.00410.0401.004TRUE
1.0101.00210.0201.002TRUE
1.0101.00410.0401.004TRUE
0.9801.00410.0401.004TRUE
1.0201.00510.0501.005TRUE
1.0100.9989.9800.998TRUE
0.9900.9899.8900.989TRUE
0.9900.9819.8100.981TRUE
0.9900.9779.7700.977TRUE
1.0100.9789.7800.978TRUE
1.0100.9769.7600.976TRUE
1.0300.9739.7300.973TRUE
1.0100.9690000000000009.6900.969000000000001FALSE
0.9900.9680000000000009.6800.968000000000001FALSE
0.9500.9680000000000009.6800.968000000000001FALSE
0.9200.9720000000000009.7200.972000000000001FALSE
0.9100.9830000000000009.8300.983000000000001FALSE

<colgroup><col width="64" style="width: 48pt;"><col width="138" style="width: 104pt;"><col width="110" span="3" style="width: 83pt;"><col width="138" style="width: 104pt;"><col width="64" span="2" style="width: 48pt;"></colgroup><tbody>
</tbody>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top