Summing every third cell in a range

Ajtoo

New Member
Joined
Mar 14, 2002
Messages
5
Is it possible to sum every third cell in a column?
- where the number of entries is variable, and
- ignoring cells with text in them
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
If A2:A11 contains...

{10;20;30;4;5;"dog";12;11;7;6}

...the array formula...

{=SUM(IF(MOD(ROW(A2:A11)-ROW(A2)+1,3),,A2:A11))}

...produces the value 37.

Note: Array formulas must be entered using the Control+Shift+Enter key combination. For more on array formulas see the Excel Help topic for "About array formulas and how to enter them".
 
Upvote 0
An array formula to sum every 3rd.
Enter it with Ctrl-Shift-Enter.

For ease of use:

The first amount to be summed should be in a row that is divisible by the Nth factor.
Example Row 9/3

One can insert or delete row to accommodate this.

=SUM(IF(MOD(ROW(A1:A17),3)=0,A1:A17))

or more generic
Nth 3 or alternative
rD range of numbers
=IF(Nth=0,0,SUM(IF(MOD(ROW(rD),Nth)=0,rD,0)))
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,949
Members
448,534
Latest member
benefuexx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top