I'm encountering a problem I can't seem to figure out. I have a large data set in Excel and need to (see figure):

- sum n rows (red in figure)
- skip m rows (black line in figure)
- sum n rows again (blue in figure)
etc etc The pattern is repetitive
I have searched everywhere, but I'm only able to find answers regarding summing n rows, but not the skipping rows part.
Kind regards
A quick solution to sum 5 rows and skip 11 in Excel 2010 would look like this:
but it could be made more general.
Here is a more general formula which shouldn't be vulnerable to insertions above row 2, assuming that N and M are defined in the Name Manager as number of rows to add and number of rows to skip:
Note that if the rows to be skipped don't contain numbers, they should be ignored by Sum anyway so this could be simplified.