Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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 -




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default 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 -





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
intersection of a range Janis Excel Discussion (Misc queries) 1 July 19th 07 07:04 PM
VBA for intersection of two named ranges brucemc Excel Programming 8 April 3rd 06 02:16 PM
Funtion that adds two named ranges Matt Excel Programming 2 February 17th 06 04:46 PM
intersection of named ranges Dave B[_9_] Excel Programming 4 December 15th 05 10:42 PM
intersection with linear range as true argument TACTG Excel Programming 1 August 9th 05 07:44 PM


All times are GMT +1. The time now is 10:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"