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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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