External named ranges in array formula

10basetom

New Member
Joined
Dec 15, 2003
Messages
23
I don't undertand something about Excel...

In file A.xls I have these named ranges:

Visits
=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1)

Orders
=OFFSET(Sheet1!$B$1,0,0,COUNTA(Sheet1!$B:$B),1)

In file B.xls I have this formula:

=SUM('A.xls'!Visits)

which returns the correct sum. So far so good. HOWEVER, this array formula returns a #VALUE! error:

=SUM(('A.xls'!Visits=10)*'A.xls'!Orders)

The above formula works if I paste it into A.xls, but it won't work from B.xls. Does anyone have an explanation? Does Excel not support external named ranges in array formulas?

Thanks,
Tom
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The second SUM formula needs to be confirmed with control+shift+enter instead of the usual enter. BTW, A.xls needs to be open for the formulas to work.
 
Upvote 0
Aladin Akyurek said:
The second SUM formula needs to be confirmed with control+shift+enter instead of the usual enter. BTW, A.xls needs to be open for the formulas to work.

Hi Aladin,

I made sure I entered the array formula with CSE combo. The A.xls file is opened. I still get the same error. Any other ideas?

Thanks,
Tom
 
Upvote 0
10basetom said:
Aladin Akyurek said:
The second SUM formula needs to be confirmed with control+shift+enter instead of the usual enter. BTW, A.xls needs to be open for the formulas to work.

Hi Aladin,

I made sure I entered the array formula with CSE combo. The A.xls file is opened. I still get the same error. Any other ideas?

Thanks,
Tom

If your ranges include text like labels, you're bound to end up in #VALUE!. Could this be your trouble?
 
Upvote 0
Aladin Akyurek said:
If your ranges include text like labels, you're bound to end up in #VALUE!. Could this be your trouble?

Thank you very much, Aladin -- excluding the column headers from the named ranges solved my problem.

Sorry for responding so late, I was out of the country.

-10bt
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,017
Members
448,937
Latest member
BeerMan23

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