local range names within Threed function?

DEllis81

Board Regular
Joined
Jan 19, 2009
Messages
106
I am attempting to use conditionally sum across multiple tabs using the "threed' function. What I have found - using the threed function with cell references appears to work.

For example this formula proves successful:
=SUMPRODUCT((THREED(CropB:CropA!$D$5:$D$20)=InputSetup!$A$7)*(THREED(CropB:CropA!$M$5:$M$20))).

However when I substitute cell references with local range names, I get a #REF error
=SUMPRODUCT((THREED(CropB:CropA!InputName)=InputSetup!$A$7)*(THREED(CropB:CropA!PurUnits)))

I have validated the two range names are defined locally on the CropA & CropB tabs are are consistenly sized. Are local range names not allowed within the threed function (or similar context), and if not, is there a work around? I really need differing range dimensions for each tab (but equal rows) within a tab for the two named ranges.

Thanks in advance for guidance!
daryl
 
I don't think that's possible. The reason might be that a defined name includes sheet name some way. That would conflict with the sheet refs THREED needs.
 
Upvote 0
One workaround might be to use multiple SUMIFs...

Code:
=SUMIF(CropA!InputName, InputSetup!$A$7, CropA!PurUnits)+ 
  SUMIF(CropB!InputName, InputSetup!$A$7, CropB!PurUnits)

With this method, you could have unique named ranges on each sheet if you wanted.
 
Upvote 0

Forum statistics

Threads
1,226,837
Messages
6,193,256
Members
453,784
Latest member
Chandni

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