sumproduct with errors in the columns

benwork

Board Regular
Joined
Oct 8, 2010
Messages
69
Hi all

Im using this forumla

=IF(C4>0,SUMPRODUCT(--(output!$H$5:$H$8205='Stockpile Totals'!A4),(output!$C$5:$C$8205),output!$D$5:$D$8205)/C4,"")

Although I have some errors in the output!$H$5:$H$8205 columns and it gives me an error.

Is there a way I can ignore those errors in the output!$H$5:$H$8205 for the forumla to work?

Cheers
 

Excel Facts

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

Im using this forumla

=IF(C4>0,SUMPRODUCT(--(output!$H$5:$H$8205='Stockpile Totals'!A4),(output!$C$5:$C$8205),output!$D$5:$D$8205)/C4,"")

Although I have some errors in the output!$H$5:$H$8205 columns and it gives me an error.

Is there a way I can ignore those errors in the output!$H$5:$H$8205 for the forumla to work?

Cheers
What type of data is in output!$H$5:$H$8205? Is it text? Numeric? Could be both?

What version of Excel are you using?
 
Upvote 0
Hi all

Im using this forumla

=IF(C4>0,SUMPRODUCT(--(output!$H$5:$H$8205='Stockpile Totals'!A4),(output!$C$5:$C$8205),output!$D$5:$D$8205)/C4,"")

Although I have some errors in the output!$H$5:$H$8205 columns and it gives me an error.

Is there a way I can ignore those errors in the output!$H$5:$H$8205 for the forumla to work?

Cheers

Try...

=IF(C4>0,SUMPRODUCT(--ISNUMBER(MATCH(output!$H$5:$H$8205,'Stockpile Totals'!A4,0)),output!$C$5:$C$8205,output!$D$5:$D$8205)/C4,"")
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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