Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ken
 
Posts: n/a
Default How can I sum every third cell in a row in Excel

I have a fairly large spreadsheet. In a particularl section I would like to
sum the values contained in every third cell. Currently I have over 30 cells
I would like to sum and the only way I can find to do so is by referencing
each cell individually with a + sign in front. All of the +cell references is
cumbersome and inefficient.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default How can I sum every third cell in a row in Excel

One way

=SUMPRODUCT(--(MOD(ROW(D1:D30),3)=0),D1:D30)

will sum D3,D6, D9 and so on


--

Regards,

Peo Sjoblom


"Ken" wrote in message
...
I have a fairly large spreadsheet. In a particularl section I would like

to
sum the values contained in every third cell. Currently I have over 30

cells
I would like to sum and the only way I can find to do so is by referencing
each cell individually with a + sign in front. All of the +cell references

is
cumbersome and inefficient.



  #3   Report Post  
Ken
 
Posts: n/a
Default How can I sum every third cell in a row in Excel

Thank you for the reply. I cut and pasted you suggestion into my sheet and
modified the array range to fit my requirements (S14:GV14). however, the
result was a value# error. I will see if I can trace the error.

ken

"Peo Sjoblom" wrote:

One way

=SUMPRODUCT(--(MOD(ROW(D1:D30),3)=0),D1:D30)

will sum D3,D6, D9 and so on


--

Regards,

Peo Sjoblom


"Ken" wrote in message
...
I have a fairly large spreadsheet. In a particularl section I would like

to
sum the values contained in every third cell. Currently I have over 30

cells
I would like to sum and the only way I can find to do so is by referencing
each cell individually with a + sign in front. All of the +cell references

is
cumbersome and inefficient.




  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default How can I sum every third cell in a row in Excel

No need to trace, I assumed rows you are going across, use

=SUMPRODUCT(--(MOD(COLUMN(S14:GV14),3)=0),S14:GV14)


--

Regards,

Peo Sjoblom



"Ken" wrote in message
...
Thank you for the reply. I cut and pasted you suggestion into my sheet and
modified the array range to fit my requirements (S14:GV14). however, the
result was a value# error. I will see if I can trace the error.

ken

"Peo Sjoblom" wrote:

One way

=SUMPRODUCT(--(MOD(ROW(D1:D30),3)=0),D1:D30)

will sum D3,D6, D9 and so on


--

Regards,

Peo Sjoblom


"Ken" wrote in message
...
I have a fairly large spreadsheet. In a particularl section I would

like
to
sum the values contained in every third cell. Currently I have over 30

cells
I would like to sum and the only way I can find to do so is by

referencing
each cell individually with a + sign in front. All of the +cell

references
is
cumbersome and inefficient.






  #5   Report Post  
Bruno Campanini
 
Posts: n/a
Default How can I sum every third cell in a row in Excel

"Ken" wrote in message
...
Thank you for the reply. I cut and pasted you suggestion into my sheet and
modified the array range to fit my requirements (S14:GV14). however, the
result was a value# error. I will see if I can trace the error.

ken


If you have a Row range such as A10:A45:
=SUMPRODUCT(--(NOT(MOD(ROW(Range),3))),(Range))

If you have a Column range such as A10:K10:
=SUMPRODUCT(--(NOT(MOD(COLUMN(Range),3))),(Range))

Bruno




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
cell on one page equals cell on another page in excel? toswald Excel Worksheet Functions 1 September 26th 05 08:52 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
How Can I make a cell flash in Excel monir Excel Discussion (Misc queries) 0 February 4th 05 03:41 AM
Excel: how to formulate conditional cell references centraloffice Excel Worksheet Functions 1 December 10th 04 08:57 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 11:58 PM.

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

About Us

"It's about Microsoft Excel"