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?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You state
"However when I add to that formula to include another arguement it doesnt work:"

What does this mean? Did you receive an error message? What message?

Does the formula work within the file All Months.xlsx?
 
Upvote 0
When you say that it doesn't work, what do you mean exactly? Does it return an error? If so, which one? Or does it return zero? Or does it return something else? Does Column B in fact contain text values as your formula suggests? Or does it actually contain true date values formatted as "ddd"? If the latter, try...

=SUMPRODUCT(--(WEEKDAY(THREED('[All Months.xlsx]Jan 00:Dec 11'!$B$8:$B$38),2)=7),--(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))
 
Upvote 0
Well it give a return value of zero where it should return 6.
 
Upvote 0
@Domenic.....column B does contain text, the days of the week....
 
Upvote 0
Check to make sure that the dates in Column B do not contain extra spaces...
 
Upvote 0
Find a row where all four columns meet the criteria. Let's say that all four columns in Row 10 meet the criteria. The following formula should return TRUE...

=B10="Sun"

Does it return TRUE? Of course, substitute B10 for the actual cell.
 
Upvote 0
Ok i just remembered something. When I used =b10="Sun" in the Monthly Tally file "Sun" is actually text and that returns true, but from the All Months file its a formula referencing the cell b10 it returned false, and thats just a simple 'is =b10'
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

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