noncontiguous cells

G

Guest

I need to sum up a column of noncontiguous cells.
(eg. G3+G6+G9+G12); with the result being presented at
the bottom of the column.

However, whenever I insert rows in between the data and
the row that contains the total sum, I need to manually adjust the summation
formula.(eg. formula above + G15+G18+G21).
On the other hand, when I delete the rows in between the data and row that
contains the total sum, a reference error pops up. (so I need to manually
adjust my formula again)

I have at least 50 columns to perform this summation for. Is there any sort
of formula that helps to minimize the manual labour?

Thanks you in advance!
 
M

Mallycat

Vivian said:
However, whenever I insert rows in between the data and
the row that contains the total sum, I need to manually adjust th
summation
formula.(eg. formula above + G15+G18+G21).

This doesn't seem right. Excel by default caters for rows being added
Can you explain the exact sequence of events, or post a sampl
spreadshee
 
R

Ragdyer

Say that your datalist goes from G3 to G99.

You could enter this in G2 or G100, or wherever:

=SUMPRODUCT((MOD(ROW(INDIRECT("G3:G99")),3)=0)*INDIRECT("G3:G99"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top