Excel - sum every nth cell in a row

Asked By BNT1 via OfficeKB.com on 21-Mar-08 03:59 PM

I am trying to adapt Bob Phillips formula


I have cells, e5,e6,e7,e8,e9,e10,e11,e12,e13,e14,e15, etc
I want to sum, e5,e9,e13 etc
I will need to adapt this in another cell to add, e6,e10,e14 etc and
therefore need to understand the N + M value

I have entered the formula below in cell c5, but get 0.  Have entered as
array formula

What am I doing wrong

Help appriciated


Message posted via OfficeKB.com

ETLahr replied on 21-Mar-08 04:23 PM
I have used this formula for summing up the 3rd row.


Cell O435's value is 3 in this case.

So it takes the sum of the cell if the remainder or the row# divided by 3
(cell O435) of the is equal to 0.  You should be able to use this and assign
an unused cell to 4, and use that as your divisor. and you can change the =0
to be anything between 0 and 1 number less than you are using as you divisor.

Hope this helps.