# sumproduct error

#### simonf

##### Board Regular
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.

### Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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.

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.

\$Y\$64 should probably be \$X\$64. Right?

Just figured it out by using INDEX(range, MATCH, MATCH). Thanks for all the helps.

On 2002-10-11 16:22, simonf wrote:
Just figured it out by using INDEX(range, MATCH, MATCH). Thanks for all the helps.

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

Replies
2
Views
501
Replies
0
Views
269
Replies
1
Views
240
Replies
5
Views
327
Replies
1
Views
319

1,221,405
Messages
6,159,685
Members
451,585
Latest member
comanvitalie

### 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.

### Which adblocker are you using?

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

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