Forum Discussion
nevans1982
Jul 12, 2019Copper Contributor
Formula for adding non-consecutive cells across entire row
Hoping someone can help; I'm trying to automatically add non-consecutive cell values together and am currently using the old fashioned approach of SUM(cell1, cell7, cell13...). The pattern remains th...
Twifoo
Jul 12, 2019Silver Contributor
To add the values in Column A, but which includes only A2, A8, A14, A20, and so forth, try this formula:
=SUMPRODUCT((MOD(ROW(Range)+
4,6)=0)*
Range)
Note that Range is a defined name that refers to the values in Column A, starting in A2.
=SUMPRODUCT((MOD(ROW(Range)+
4,6)=0)*
Range)
Note that Range is a defined name that refers to the values in Column A, starting in A2.
SergeiBaklan
Jul 12, 2019Diamond Contributor
Twifoo , that works only if there are no texts in between.