Problem with THREED

trone77

Board Regular
Joined
Dec 28, 2009
Messages
152
Office Version
  1. 2019
Platform
  1. Windows
I am having issues using THREED. When I enter the following formula it works just fine:

=SUMPRODUCT(--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$C$8:$C$38)=1),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$D$8:$D$38)=0),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$E$8:$E$38)=2))

However when I add to that formula to include another arguement it doesnt work:

=SUMPRODUCT(--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$B$8:$B$38)="Sun"),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$C$8:$C$38)=1),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$D$8:$D$38)=0),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$E$8:$E$38)=2))

Is there a limit to how many argument you can include with THREED?
 
Sorry, somewhat unclear... Are you saying that Column B in 'All Months.xlsx' contains formulas? In any case, if for example B10 in Sheet 'Jan 00' of 'All Months.xlsx' has a value equal to 'Sun', then the following should return TRUE regardless of whether the value is derived from a formula...

='[All Months.xlsx]Jan 00'!B10="Sun"
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Yeah All Months did contain a formula, but to simplify things, I just went ahead and manually changed the contents of B to all text. Now when I use Threed with the formula below with "Sun" it always returns 0.

=SUMPRODUCT(--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$B$8:$B$38)="Sun"),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$C$8:$C$38)=4),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$D$8:$D$38)=8),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$E$8:$E$38)=8))


However if I remove the '--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$B$8:$B$38)="Sun")'...so just numbers and no text, it returns the correct answer.

=SUMPRODUCT(--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$C$8:$C$38)=4),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$D$8:$D$38)=8),--(THREED('[All Months.xlsx]Jan 00:Dec 11'!$E$8:$E$38)=8))
 
Upvote 0

Forum statistics

Threads
1,224,542
Messages
6,179,421
Members
452,913
Latest member
JWD210

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