Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Sum every other 5th cell

Is it possible to Sum every 5th cell in a range of cells (i.e.
L8+L13+L18+L24....in a range of L1: L45) without entering every cell
manually?

From cell L8 and every 5th cell until cell L45.

Is this possible, if so, HOW???

Thanks


=SUM(IF(MOD(ROW(M8:M48),5)=2,M8:M48,""))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Sum every other 5th cell

Your formula should work. All you have to commit ctrl+shift+enter (not just
enter)

"Jay" wrote:

Is it possible to Sum every 5th cell in a range of cells (i.e.
L8+L13+L18+L24....in a range of L1: L45) without entering every cell
manually?

From cell L8 and every 5th cell until cell L45.

Is this possible, if so, HOW???

Thanks


=SUM(IF(MOD(ROW(M8:M48),5)=2,M8:M48,""))

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Sum every other 5th cell

=SUM(IF(MOD(ROW(M8:M48)-1,5)=2,M8:M48,""))

Entered as array formula (Ctrl+Shift+Enter)

"Nobody" wrote:

Your formula should work. All you have to commit ctrl+shift+enter (not just
enter)

"Jay" wrote:

Is it possible to Sum every 5th cell in a range of cells (i.e.
L8+L13+L18+L24....in a range of L1: L45) without entering every cell
manually?

From cell L8 and every 5th cell until cell L45.

Is this possible, if so, HOW???

Thanks


=SUM(IF(MOD(ROW(M8:M48),5)=2,M8:M48,""))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 200
Default Sum every other 5th cell

This thread is a kick!

In the first place, if one wants to add up some values in L8,L13,L18...
why is everyone considering a formula that operates on Column M?

Secondly, every fifth cell starting with Row 8 does not include Row 24,
as the OP's original posting suggested.

Thirdly, with the numbers 1 through 45 in M1:M45, the sum of
M8,M13,M18,M23,M28,M33,M38,M43 is 204, whereas the OP's originally
posted formula, array entered, returns 189; but then, of course, Nobody
said it should work. :-)

Toppers's formula works.

Alan Beban

Toppers wrote:
=SUM(IF(MOD(ROW(M8:M48)-1,5)=2,M8:M48,""))

Entered as array formula (Ctrl+Shift+Enter)

"Nobody" wrote:

Your formula should work. All you have to commit ctrl+shift+enter (not just
enter)

"Jay" wrote:

Is it possible to Sum every 5th cell in a range of cells (i.e.
L8+L13+L18+L24....in a range of L1: L45) without entering every cell
manually?

From cell L8 and every 5th cell until cell L45.

Is this possible, if so, HOW???

Thanks


=SUM(IF(MOD(ROW(M8:M48),5)=2,M8:M48,""))

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Sum every other 5th cell

=SUMPRODUCT(--(MOD(ROW(L8:L45)-ROW(L8),5)=0),L8:L45)

Jay wrote:
Is it possible to Sum every 5th cell in a range of cells (i.e.
L8+L13+L18+L24....in a range of L1: L45) without entering every cell
manually?

From cell L8 and every 5th cell until cell L45.

Is this possible, if so, HOW???

Thanks


=SUM(IF(MOD(ROW(M8:M48),5)=2,M8:M48,""))

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
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 09:05 AM.

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"