Trying to use SUMPRODUCT with ranges spanning two worksheets

Genio

New Member
Joined
Jul 19, 2002
Messages
15
I am using Excel 2000. I have three ranges and three worksheets, all in one workbook.

The three sheets are named, in order:

Open, Closed, Main

The ranges were named using the Insert, Name, Define method. One of my ranges is named "Case_Create". It is defined as:

=Closed!$Q$1:$Q$1000

I have two other ranges with similar definitions, but different column references.

Here is my issue: My SUMPRODUCT formula on my "Main" sheet works great if I only reference my "Closed" sheet. When I change the range definition to include the "Open" sheet, none of the formulas work. I have looked through everything I can find and cannot find why this won't work.

I am using the accepted format of:

=Open:Closed!$Q$1:$Q$1000

Excel accepts it fine, but the formulas do not work.

Thanks very much for the help.
-Genio
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Quote from Excel Help:

Guidelines for using 3-D references
You can use 3-D references to refer to cells on other sheets, to define names, and to create formulas by using the following functions: SUM, AVERAGE, AVERAGEA, COUNT, COUNTA, MAX, MAXA, MIN, MINA, PRODUCT, STDEV, STDEVA, STDEVP, STDEVPA, VAR, VARA, VARP, and VARPA.


3-D references cannot be used in array formulas.


3-D references cannot be used with the intersection operator (a single space) or in formulas that use implicit intersection.
 
Upvote 0
Andrew,

I apologize for missing that in the app help section. My bad on that one.

Thanks for the response though. That's an unfortunate limitation in Excel.

Good to know.

Thanks very much,

Genio
 
Upvote 0
On 2002-07-30 09:24, Genio wrote:
Andrew,

I apologize for missing that in the app help section. My bad on that one.

Thanks for the response though. That's an unfortunate limitation in Excel.

Good to know.

Thanks very much,

Genio

Yes, not all functions can be used in 3d fashion. However, depending on whether such a choice is warrented, you can use THREED from the Morefunc add-in to effect a 3d computation with functions unlisted in the Help file.

Suppose we want total Sheet2!D2:D5 and Sheet3!D2:D5 if Sheet2!C2:C5 and Sheet3!C2:C5 meet the condition specified in A2 in Sheet1.

In B2 enter:

=SUMPRODUCT((THREED(Sheet2:Sheet3!C2:C5)=A2)*(THREED(Sheet2:Sheet3!D2:D5)))

Note. This is not a problem where one would want to use SUMPRODUCT. SUMIF would suffice.

See the figures:
aa3dSumproduct Genio.xls
ABCD
1
2a195
3
4
Sheet1
aa3dSumproduct Genio.xls
BCDE
1
2a15
3a210
4a115
5a240
6
Sheet2
aa3dSumproduct Genio.xls
BCDE
1
2a125
3a240
4a150
5a270
6
Sheet3


Morefunc is downloadable at:

http://longre.free.fr/english/index.html

Addendum. The ranges of interest must be referred to in native mode, not as names.

Aladin
This message was edited by Aladin Akyurek on 2002-07-30 10:39
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,179
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top