ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using named range intersection in a sum funtion (https://www.excelbanter.com/excel-programming/392828-using-named-range-intersection-sum-funtion.html)

[email protected]

Using named range intersection in a sum funtion
 
Hi everybody
I am looking for a way to use the sum function with named range
intersection. Here is my thinking.

I have data in columns and rows. I would like to create a named range
for the columns to be added together(ColumnsToAdd). Then I insert a
sum function which would add the columns in the current row.

Say ColumnsToAdd refers to columns B to D. The named range
ColumnsToAdd refers to those columns(B:D). In column E, I put the sum
function similar to this: = sum(ColumnsToAdd Intersect CurrentRow ).

I would like the sum formula to evaluate the intersection between my
named range and current row to compute the correct total for each of
the 10 rows. Is this possible somehow ?

TIA
Van


Ron Coderre

Using named range intersection in a sum funtion
 
Try something like this:

E3: =SUM(ColumnsToAdd 3:3)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


" wrote:

Hi everybody
I am looking for a way to use the sum function with named range
intersection. Here is my thinking.

I have data in columns and rows. I would like to create a named range
for the columns to be added together(ColumnsToAdd). Then I insert a
sum function which would add the columns in the current row.

Say ColumnsToAdd refers to columns B to D. The named range
ColumnsToAdd refers to those columns(B:D). In column E, I put the sum
function similar to this: = sum(ColumnsToAdd Intersect CurrentRow ).

I would like the sum formula to evaluate the intersection between my
named range and current row to compute the correct total for each of
the 10 rows. Is this possible somehow ?

TIA
Van



[email protected]

Using named range intersection in a sum funtion
 
Yes, it worked wonderfully. I will try to find more info about this
syntax since I had missed entirely this type of cell specification in
documentation. Thanks again

Van

On Jul 8, 11:12 am, Ron Coderre
wrote:
Try something like this:

E3: =SUM(ColumnsToAdd 3:3)

Does that help?
***********
Regards,
Ron

XL2002, WinXP



" wrote:
Hi everybody
I am looking for a way to use the sum function with named range
intersection. Here is my thinking.


I have data in columns and rows. I would like to create a named range
for the columns to be added together(ColumnsToAdd). Then I insert a
sum function which would add the columns in the current row.


Say ColumnsToAdd refers to columns B to D. The named range
ColumnsToAdd refers to those columns(B:D). In column E, I put the sum
function similar to this: = sum(ColumnsToAdd Intersect CurrentRow ).


I would like the sum formula to evaluate the intersection between my
named range and current row to compute the correct total for each of
the 10 rows. Is this possible somehow ?


TIA
Van- Hide quoted text -


- Show quoted text -





Ron Coderre

Using named range intersection in a sum funtion
 
I'm glad that worked for you.....thanks for letting me know.


***********
Regards,
Ron

XL2002, WinXP


" wrote:

Yes, it worked wonderfully. I will try to find more info about this
syntax since I had missed entirely this type of cell specification in
documentation. Thanks again

Van

On Jul 8, 11:12 am, Ron Coderre
wrote:
Try something like this:

E3: =SUM(ColumnsToAdd 3:3)

Does that help?
***********
Regards,
Ron

XL2002, WinXP



" wrote:
Hi everybody
I am looking for a way to use the sum function with named range
intersection. Here is my thinking.


I have data in columns and rows. I would like to create a named range
for the columns to be added together(ColumnsToAdd). Then I insert a
sum function which would add the columns in the current row.


Say ColumnsToAdd refers to columns B to D. The named range
ColumnsToAdd refers to those columns(B:D). In column E, I put the sum
function similar to this: = sum(ColumnsToAdd Intersect CurrentRow ).


I would like the sum formula to evaluate the intersection between my
named range and current row to compute the correct total for each of
the 10 rows. Is this possible somehow ?


TIA
Van- Hide quoted text -


- Show quoted text -







All times are GMT +1. The time now is 07:26 AM.

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