sumproduct error

simonf

Board Regular
Joined
Jun 18, 2002
Messages
207
Can someone tell me what's wrong with this formula? I kept on getting #N/A.

=SUMPRODUCT(('[FY03 Budget.xls]Summary'!$L$37:$L$64=B65)*('[FY03 Budget.xls]Summary'!$M$9:$X$9=C4)*'[FY03 Budget.xls]Summary'!$M$37:$Y$64)

$L$37:$L$64 are the departments
$M$9:$X$9 are the months
$M$37:$Y$64 are the budget numbers

They are all on a differnt workbook.

Thanks in advance.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi,

SUMPRODUCT requires that the arrays you are using be identically sized. One can be a row, another a column, but the number of elements must be equal. All the ranges are different in your formula.

You also have a multiple row/column range being tested, and that will require another approach, I believe.
 
Upvote 0
On 2002-10-11 15:41, simonf wrote:
Can someone tell me what's wrong with this formula? I kept on getting #N/A.

=SUMPRODUCT(('[FY03 Budget.xls]Summary'!$L$37:$L$64=B65)*('[FY03 Budget.xls]Summary'!$M$9:$X$9=C4)*'[FY03 Budget.xls]Summary'!$M$37:$Y$64)

$L$37:$L$64 are the departments
$M$9:$X$9 are the months
$M$37:$Y$64 are the budget numbers

They are all on a differnt workbook.

Thanks in advance.

$Y$64 should probably be $X$64. Right?
 
Upvote 0
On 2002-10-11 16:22, simonf wrote:
Just figured it out by using INDEX(range, MATCH, MATCH). Thanks for all the helps. :cool:

I'd like to see an answer to the question I posed. You might get a better formula.
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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