LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 418
Default My first post - Please Help (Formula for adding Values)

PS.....

I wrote:
leapyleigh wrote:
I need to be able to add up the total of every 4th row only.


Do we have the same understanding of what "every 4th row" means? To
me, it means A1, A5, A9, etc for example. The following array formula
will do that (every 4th row starting A1 and ending with the 4th row at
or before A17):

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

Type ctrl-shift-Enter, not Enter, after typing or editing the formula.


I should note that that array formula works regardless of where the
range begins. For example, if you wanted every 4th row starting in A2,
simply replace all occurrences of A1 with A2.

Also, when I wrote "ending with the 4th row at or before A17", I meant:
counting from the first row of the range, not from the end of the
range.

 
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
automate replace values in formula galiant Excel Discussion (Misc queries) 2 July 9th 06 03:40 PM
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
SUM formula - using variable values Mike C Excel Worksheet Functions 2 January 13th 06 10:58 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
How do I copy cell values (derived from formula), not references? Matt in a spot of bother Excel Worksheet Functions 4 July 28th 05 08:09 AM


All times are GMT +1. The time now is 09:53 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"