ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum every Nth Row (almost working) (https://www.excelbanter.com/excel-worksheet-functions/450067-sum-every-nth-row-almost-working.html)

[email protected]

Sum every Nth Row (almost working)
 
Hi All,

Need some assistance here...

This formula works...

{=SUM(IF(MOD(COLUMN(D11:OFFSET(D11,0,0,1,36)),3)=0 ,D11:OFFSET(D11,0,0,1,36)),0)}

Except... it's not working exactly the way I want.

I need to Sum ever 3rd column but I want it to start with the first column in the range.

EG:

Columns D, G, J
Whereas it is summing up F, I & L

Any assistance to work this out would be wonderful.


Claus Busch

Sum every Nth Row (almost working)
 
Hi,

Am Fri, 9 May 2014 00:28:50 -0700 (PDT) schrieb :

Columns D, G, J


if you want to sum D11+G11+J11 try:
=SUM(IF(MOD(COLUMN(D11:J11),3)=1,D11:J11))
and enter the formula with CTRL+Shift+Enter

Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional

Kevin@Radstock

=sumproduct(--(mod(column(d11:j11),3)=1),d11:j11)


All times are GMT +1. The time now is 05:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com