Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Peter Bernadyne
 
Posts: n/a
Default Named Range Calculations


I have 2 dynamic ranges which vary according to user input in a dropdown
box. I would like to create a 3rd range out of these which I am
attempting to do formulaicly using a Name embedded within the worksheet
and then return a singular value from this 3rd range (like its mean, or
sum, etc.). However, whenever I try to return this value, Excel
crashes. Does anyone know if this is possible to do?

To illustrate, here's what I mean:

1). First, I have setup 2 dynamic ranges, range1 and range2 (both
correctly specified as Named ranges).

Assume for the moment range1 refers to the numbers on Sheet1, column A,
rows 1:10. Also assume range2 refers to the numbers on Sheet1, column
B, rows 1:10.

2). I next define range3 as a named range which refers to:

range1-range2

3). Finally, I try to return sum(range3) (or any other aggregate
function) in any cell in a worksheet and Excel crashes. I've also
tried to enter a name for this value (as in Sum3 which refers to:
=sum(range3)) and this also fails.

Does anyone know if there is a workaround for this? I'm hoping to
avoid any embedded code to keep the workbook as 'light' as possible.

Any advice would be much appreciated!

-Pete


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=520580

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Named Range Calculations

I followed your instructons exactly in my XL97, except for the Refers to: for
Range3 I entered =Range1-Range2, and it worked exactly as expected. I had
all 3's in Range1 and all 1's in Range2 and my formula =sum(Range3) returned
20

hth
Vaya con Dios,
Chuck, CABGx3



"Peter Bernadyne" wrote:


I have 2 dynamic ranges which vary according to user input in a dropdown
box. I would like to create a 3rd range out of these which I am
attempting to do formulaicly using a Name embedded within the worksheet
and then return a singular value from this 3rd range (like its mean, or
sum, etc.). However, whenever I try to return this value, Excel
crashes. Does anyone know if this is possible to do?

To illustrate, here's what I mean:

1). First, I have setup 2 dynamic ranges, range1 and range2 (both
correctly specified as Named ranges).

Assume for the moment range1 refers to the numbers on Sheet1, column A,
rows 1:10. Also assume range2 refers to the numbers on Sheet1, column
B, rows 1:10.

2). I next define range3 as a named range which refers to:

range1-range2

3). Finally, I try to return sum(range3) (or any other aggregate
function) in any cell in a worksheet and Excel crashes. I've also
tried to enter a name for this value (as in Sum3 which refers to:
=sum(range3)) and this also fails.

Does anyone know if there is a workaround for this? I'm hoping to
avoid any embedded code to keep the workbook as 'light' as possible.

Any advice would be much appreciated!

-Pete


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=520580


  #3   Report Post  
Posted to microsoft.public.excel.misc
Peter Bernadyne
 
Posts: n/a
Default Named Range Calculations


That's so weird!!

You're right, it does work if the range is static (I assumed it
wouldn't).

Does anyone know if there would be any reason why this might not work
when using dynamic ranges?

Could this be symptomatic of a memory problem, perhaps?


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=520580

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
named range with filter dee Excel Worksheet Functions 3 October 17th 05 04:46 PM
dynamic named range function MJB Excel Worksheet Functions 1 August 5th 05 05:56 AM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
How to dynamically reference a dynamic named range paris3 Excel Worksheet Functions 4 June 24th 05 01:22 AM
Date/time range based calculations jim314 Excel Discussion (Misc queries) 1 April 28th 05 07:21 PM


All times are GMT +1. The time now is 04:58 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"