ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to calculate the sum of the alternate rows? (https://www.excelbanter.com/excel-worksheet-functions/95336-how-calculate-sum-alternate-rows.html)

Sathish

How to calculate the sum of the alternate rows?
 
Hi,

Could you help me in calculating the sum of the alternate rows with out
adding a column or row with intermeditate formula.

Thanks and Regards
satish

Gord Dibben

How to calculate the sum of the alternate rows?
 
To SUM alternate rows in Column A.

=SUMPRODUCT((MOD(ROW($A$1:$A$1004),2)=MOD(ROW($A$1 )-1,2))*($A$1:$A$1004))

To SUM alternate rows in Columns A and B

=SUMPRODUCT((MOD(ROW($A$1:$B$1004),2)=MOD(ROW($A$1 )-1,2))*($A$1:$B$1004))


Gord Dibben MS Excel MVP


On Wed, 21 Jun 2006 12:17:03 -0700, Sathish
wrote:

Hi,

Could you help me in calculating the sum of the alternate rows with out
adding a column or row with intermeditate formula.

Thanks and Regards
satish



Sathish

How to calculate the sum of the alternate rows?
 
Hi,

Thank you very much. It works.

Regards
satish.

"Gord Dibben" wrote:

To SUM alternate rows in Column A.

=SUMPRODUCT((MOD(ROW($A$1:$A$1004),2)=MOD(ROW($A$1 )-1,2))*($A$1:$A$1004))

To SUM alternate rows in Columns A and B

=SUMPRODUCT((MOD(ROW($A$1:$B$1004),2)=MOD(ROW($A$1 )-1,2))*($A$1:$B$1004))


Gord Dibben MS Excel MVP


On Wed, 21 Jun 2006 12:17:03 -0700, Sathish
wrote:

Hi,

Could you help me in calculating the sum of the alternate rows with out
adding a column or row with intermeditate formula.

Thanks and Regards
satish





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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com