Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SusanK
 
Posts: n/a
Default How do I add every few cells

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.
  #2   Report Post  
RagDyer
 
Posts: n/a
Default

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!
==============================================



"SusanK" wrote in message
...
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.


  #3   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Try this Susan

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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SusanK" wrote in message ...
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.



  #4   Report Post  
SusanK
 
Posts: n/a
Default

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!!!

"RagDyer" wrote:

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!
==============================================



"SusanK" wrote in message
...
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.



  #5   Report Post  
SusanK
 
Posts: n/a
Default

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!

"Ron de Bruin" wrote:

Try this Susan

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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SusanK" wrote in message ...
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.






  #6   Report Post  
RagDyer
 
Posts: n/a
Default

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

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

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



"SusanK" wrote in message
...
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!!!

"RagDyer" wrote:

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!
==============================================



"SusanK" wrote in message
...
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.




  #7   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Glad you got it working
Thanks for your private mail Susan

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SusanK" wrote in message ...
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!

"Ron de Bruin" wrote:

Try this Susan

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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SusanK" wrote in message ...
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.






  #8   Report Post  
eider
 
Posts: n/a
Default

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)

"SusanK" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you "select locked cells" w/o "select unlocked cells"? princejohnpaulfin Excel Discussion (Misc queries) 3 July 16th 05 03:53 AM
Deselect Cells while using ctrl Sloth Excel Discussion (Misc queries) 5 July 14th 05 10:58 PM
Counting only active cells Sac73 Excel Discussion (Misc queries) 16 April 4th 05 05:49 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"