Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automate replace values in formula | Excel Discussion (Misc queries) | |||
Lookup Data in two seperate Spreadsheets | Excel Worksheet Functions | |||
SUM formula - using variable values | Excel Worksheet Functions | |||
Positioning Numeric Values Resulting from 6 Column Array Formula | Excel Worksheet Functions | |||
How do I copy cell values (derived from formula), not references? | Excel Worksheet Functions |