Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Summing cells in every 14th row
I need to be able to add up the value of a cell in every 14th row. The spreadsheet contains the results from a daily report (30 days worth). Each report is 14 rows. I need to add the results of one line for each report. In other words I need to add cells I1, I15, I29, I43, I57; and then I2, I16, 130, I44, I58, etc. Can someone provide feedback? Thanks -- t2true ------------------------------------------------------------------------ t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877 View this thread: http://www.excelforum.com/showthread...hreadid=387143 |
#2
|
|||
|
|||
To get the first set:
=SUMPRODUCT(I1:I1000,--(MOD(ROW(I1:I1000),14)=1)) To get the second set: =SUMPRODUCT(I1:I1000,--(MOD(ROW(I1:I1000),14)=2)) and so on "t2true" wrote: I need to be able to add up the value of a cell in every 14th row. The spreadsheet contains the results from a daily report (30 days worth). Each report is 14 rows. I need to add the results of one line for each report. In other words I need to add cells I1, I15, I29, I43, I57; and then I2, I16, 130, I44, I58, etc. Can someone provide feedback? Thanks -- t2true ------------------------------------------------------------------------ t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877 View this thread: http://www.excelforum.com/showthread...hreadid=387143 |
#3
|
|||
|
|||
there are multiple ways to do it.
one is to use Sumproduct =sumproduct(--(mod(Row(I1:I1000),14)=1),I1:I1000) starting at row one =sumproduct(--(mod(Row(I1:I1000),14)=2),I1:I1000) starting at row two etc. "t2true" wrote: I need to be able to add up the value of a cell in every 14th row. The spreadsheet contains the results from a daily report (30 days worth). Each report is 14 rows. I need to add the results of one line for each report. In other words I need to add cells I1, I15, I29, I43, I57; and then I2, I16, 130, I44, I58, etc. Can someone provide feedback? Thanks -- t2true ------------------------------------------------------------------------ t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877 View this thread: http://www.excelforum.com/showthread...hreadid=387143 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using SUM function with #N/A in some cells | Excel Worksheet Functions | |||
REVISED ?? - populate limited cells w/ set value | Excel Worksheet Functions | |||
Blank Cells in Pivot Tables | Excel Discussion (Misc queries) | |||
Help adding text values | Excel Worksheet Functions | |||
Convert data type of cells to Text,Number,Date and Time | Excel Worksheet Functions |