Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default 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
  #3   Report Post  
Member
 
Posts: 93
Default

=sumproduct(--(mod(column(d11:j11),3)=1),d11:j11)
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
Windows Query working on some computer, and not working on others?!? Charlotte E[_2_] Excel Programming 1 August 18th 10 01:20 PM
Calculate working days but change working week SamB Excel Discussion (Misc queries) 1 September 1st 08 09:17 PM
Making weekend days working days - the system cuts the working tim Fluffy Excel Discussion (Misc queries) 1 May 30th 08 10:02 PM
Newly created Get Function is not working when I copied the syntax from a working function CJ Excel Programming 1 January 16th 07 05:28 AM
Adding sales from a non working day to the previous working day Alex Excel Programming 1 September 19th 03 08:48 AM


All times are GMT +1. The time now is 06:29 PM.

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"