How do I add every few cells

S

SusanK

How do I add cell B7, B10, B13 (every 3 cells up to 500+)? Note: The other
cells such as B6 and B9 have other forumlas and info that is not to be
included). I did this manually but the formula has now gotten so long that I
get an error saying "formula too long". So I figured, there must be a
shorter formula that just adds every 3 (or whatever designated) cells
starting with one cell and ending with another.
 
R

RagDyer

Try this:

=SUMPRODUCT((MOD(ROW(B7:B500)-1,3)=0)*(B7:B500))
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 
S

SusanK

I tried this and it said that it couldn't creat because of a circular
reference. This formula I need provides me with a number that is used in a
formula for cells B8, B11, etc. Any other suggestions? I'd really
appreciate it!!!
 
S

SusanK

Ron, I got a message saying that it wouldn't work because of a circular
reference. Cells like B8 and B11 have formulas that are based on the outcome
of this formula I'm tring to create. Any possible suggestions?? It would be
much appreciated! - Thanks!
 
R

RagDyer

Then eliminate those 2 cells from the formula, and add them separately:

=SUMPRODUCT((MOD(ROW(B13:B500),3)=1)*(B13:B500))+B7+B10
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 
E

eider

You could use a helper column and sumif function. Put a character in the
helper column in each row you want to include in the sum. If you put as s in
each applicable row of Col A, your formula would be =sumif
(a7:A500,"S",b7.b500)
 
Top