Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default referencing a 3D Named Range

I am reviewing a workbook that has multiple spreadsheets of similar
data that are referenced on a ¡§Total Costs¡¨ sheet. Right now we use
some pretty cumbersome formulas on the Totals sheet that I want to
clean up. I am trying to use 3D references, actually 3D Named Ranges
to simplify. I am aware that the range must be the same on each sheet
and have established for that. I¡¦m testing in a much simplified
workbook for the moment just to work the basics out. The 3D range is
named ¡§Results¡¨ and spans four sheets named 2005, 2004, 2003 and 2002
the common range on each sheet is C3:F5.

The following works, so I know the range is set up correctly:
=SUM(Results)


I¡¦m trying to perform calculations based on specific locations within
the range using the INDEX function or some other referencing method.
Eventually I want to identify the locations using headings and the
Match function but for now I¡¦m entering the INDEX arguments directly.

The following
=SUM(INDEX(Results,3,2))
Returns a #Value error

To isolate the problem, I created a name for the same range on just
one sheet ¡§Results2005¡¨ and with the following formula; I get the
correct value returned:
=SUM(INDEX(Results2005,3,2))

I¡¦m getting the feeling that I may be up against a limitation of using
3D ranges. Before I move on to another approach I wanted to turn it
over to the experts. Any advice, recommendations, or condolences will
be appreciated ļ
Robert
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default referencing a 3D Named Range

Robert,

From Help, the functions that can be used with 3D ranges - see below. (From the help page "Refer to
the same cell or range on multiple sheets")

Generally, do NOT use separate sheets with similiar databases - it is MUCH better to use an
additional column in your database with, in your case, the year, then apply filters or use a pivot
table to show the subset of the data in which you are interested.

HTH,
Bernie
MS Excel MVP

SUM - adds numbers
AVERAGE - calculates average (arithmetic mean) of numbers
AVERAGEA - calculates average (arithmetic mean) of numbers; includes text and logicals
COUNT - counts cells that contain numbers
COUNTA - counts cells that are not empty
MAX - finds largest value in a set of values
MAXA - finds largest value in a set of values; includes text and logicals
MIN - finds smallest value in a set of values
MINA - finds smallest value in a set of values; includes text and logicals
PRODUCT - multiplies numbers
STDEV - calculates standard deviation based on a sample
STDEVA - calculates standard deviation based on a sample; includes text and logicals
STDEVP - calculates standard deviation of an entire population
STDEVPA - calculates standard deviation of an entire population; includes text and logicals
VAR - estimates variance based on a sample
VARA - estimates variance based on a sample; includes text and logicals
VARP - calculates variance for an entire population
VARPA - calculates variance for an entire population; includes text and logicals


"Robert H" wrote in message
...
I am reviewing a workbook that has multiple spreadsheets of similar
data that are referenced on a ¡§Total Costs¡¨ sheet. Right now we use
some pretty cumbersome formulas on the Totals sheet that I want to
clean up. I am trying to use 3D references, actually 3D Named Ranges
to simplify. I am aware that the range must be the same on each sheet
and have established for that. I¡¦m testing in a much simplified
workbook for the moment just to work the basics out. The 3D range is
named ¡§Results¡¨ and spans four sheets named 2005, 2004, 2003 and 2002
the common range on each sheet is C3:F5.

The following works, so I know the range is set up correctly:
=SUM(Results)


I¡¦m trying to perform calculations based on specific locations within
the range using the INDEX function or some other referencing method.
Eventually I want to identify the locations using headings and the
Match function but for now I¡¦m entering the INDEX arguments directly.

The following
=SUM(INDEX(Results,3,2))
Returns a #Value error

To isolate the problem, I created a name for the same range on just
one sheet ¡§Results2005¡¨ and with the following formula; I get the
correct value returned:
=SUM(INDEX(Results2005,3,2))

I¡¦m getting the feeling that I may be up against a limitation of using
3D ranges. Before I move on to another approach I wanted to turn it
over to the experts. Any advice, recommendations, or condolences will
be appreciated ļ
Robert


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default referencing a 3D Named Range

Thanks Bernie, I was afraid of that
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default referencing a 3D Named Range

"Bernie Deitrick" <deitbe @ consumer dot org wrote...
From Help, the functions that can be used with 3D ranges - see
below. (From the help page "Refer to the same cell or range on
multiple sheets")

....
SUM [...]
AVERAGE [...]
AVERAGEA [...]
COUNT [...]
COUNTA [...]
MAX [...]
MAXA [...]
MIN [...]
MINA [...]
PRODUCT [...]
STDEV [...]
STDEVA [...]
STDEVP [...]
STDEVPA [...]
VAR [...]
VARA [...]
VARP [...]
VARPA [...]

....

And if this is from Help, it's another fine example of long-standing
errors, in this case of omission, in Excel's help files. Both MEDIAN
and NPV (but *not* XNPV, at least up to XL2003) also accept multiple
3D references.

All built-in functions that accept a variable number of arguments
*except* MODE and CONCATENATE accept 3D references.
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
Referencing a named range based upon Range name entry in cell Barb Reinhardt Excel Worksheet Functions 14 June 20th 07 07:19 PM
referencing named ranges in VBA Dave F Excel Discussion (Misc queries) 5 January 25th 07 06:46 PM
Referencing Named Ranges using values in a cell eggman Excel Discussion (Misc queries) 2 September 23rd 06 06:30 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Referencing Named Ranges ExcelRookie Excel Worksheet Functions 2 March 6th 06 12:50 PM


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