ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Add alternate cells in column and sum (https://www.excelbanter.com/excel-worksheet-functions/181029-add-alternate-cells-column-sum.html)

Jackanorry

Add alternate cells in column and sum
 
I need to add alternate cells in a single column. The cells contain a formula
result summing values in rows to the left of the result cell.

The cells to be summed in the column are formatted to display results in
currency format.

Cell range (column) to be summed AA5 to AA382 (using alternate cells i.e.
AA5,AA7,AA9 ...AA381)

Thanks for any and all assistance in advance.
John



Mike H

Add alternate cells in column and sum
 
Maybe

=SUMPRODUCT((MOD(ROW(AA5:AA382),2)=1)*AA5:AA382)

Mike

"Jackanorry" wrote:

I need to add alternate cells in a single column. The cells contain a formula
result summing values in rows to the left of the result cell.

The cells to be summed in the column are formatted to display results in
currency format.

Cell range (column) to be summed AA5 to AA382 (using alternate cells i.e.
AA5,AA7,AA9 ...AA381)

Thanks for any and all assistance in advance.
John



Jackanorry

Add alternate cells in column and sum
 
Mike,

it works! - just what i needed to make this work

THANK YOU

John

"Mike H" wrote:

Maybe

=SUMPRODUCT((MOD(ROW(AA5:AA382),2)=1)*AA5:AA382)

Mike

"Jackanorry" wrote:

I need to add alternate cells in a single column. The cells contain a formula
result summing values in rows to the left of the result cell.

The cells to be summed in the column are formatted to display results in
currency format.

Cell range (column) to be summed AA5 to AA382 (using alternate cells i.e.
AA5,AA7,AA9 ...AA381)

Thanks for any and all assistance in advance.
John



T. Valko

Add alternate cells in column and sum
 
Try this:

=SUMPRODUCT(--(MOD(ROW(AA5:AA382)-ROW(AA5),2)=0),AA5:AA382)


--
Biff
Microsoft Excel MVP


"Jackanorry" wrote in message
...
I need to add alternate cells in a single column. The cells contain a
formula
result summing values in rows to the left of the result cell.

The cells to be summed in the column are formatted to display results in
currency format.

Cell range (column) to be summed AA5 to AA382 (using alternate cells i.e.
AA5,AA7,AA9 ...AA381)

Thanks for any and all assistance in advance.
John





Mike H

Add alternate cells in column and sum
 
your welcome

"Jackanorry" wrote:

Mike,

it works! - just what i needed to make this work

THANK YOU

John

"Mike H" wrote:

Maybe

=SUMPRODUCT((MOD(ROW(AA5:AA382),2)=1)*AA5:AA382)

Mike

"Jackanorry" wrote:

I need to add alternate cells in a single column. The cells contain a formula
result summing values in rows to the left of the result cell.

The cells to be summed in the column are formatted to display results in
currency format.

Cell range (column) to be summed AA5 to AA382 (using alternate cells i.e.
AA5,AA7,AA9 ...AA381)

Thanks for any and all assistance in advance.
John




All times are GMT +1. The time now is 09:24 PM.

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