Help needed debugging SUMPRODUCT

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,951
Hi,

I'm in the process of replacing SUMIFS with SUMPRODUCTS for closed workbooks and have hit an error I cannot solve. The offending formula is:

=SUMPRODUCT(--([MFT.XLSX]Perth!$5:$5=TEXT($U$1,"mmmm")),--([MFT.XLSX]Perth!$6:$6=$W$1),[MFT.XLSX]Perth!$21:$21)

It is returning DIV/0

I know --([MFT.XLSX]Perth!$5:$5=TEXT($U$1,"mmmm")),--([MFT.XLSX]Perth!$6:$6=$W$1), is working as similar formulas looking at rows other than 21 are working.

The cell in question in row 21 contains a SUM formula (ISNUMBER returns a 1), and fails still if I replace it with a fixed value.

Copying the formula or value to row 22 and replacing $21 with $22 returns a result.

Any suggestions how I can debug?

Thanks!
 
Last edited:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Looks like a reoccuring issue, there are many DIV0s in another sheet, any way to ignore them?
 
Upvote 0

Forum statistics

Threads
1,214,835
Messages
6,121,880
Members
449,057
Latest member
Moo4247

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