SUMPRODUCT help to ignore #NA and #Value

mecheet

Board Regular
Joined
Apr 21, 2010
Messages
117
I have the below formula which works when i remove the #NA and #Values in column F on the RPT tab, but i need it to just ignore these.

=SUMPRODUCT((RPT!$F$6:$F$2793=$A8)*(RPT!CV$6:CV$2793)*(RPT!$M$6:$M$2793=Overview!$B8))/$H$3

any help appreciated
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
try:

=SUMPRODUCT(--(ISERROR((RPT!$F$6:$F$2793)=FALSE),--(RPT!$F$6:$F$2793=$A8),(RPT!CV$6:CV$2793),(RPT!$M$6:$M$2793=Overview!$B8))/$H$3
 
Upvote 0
thanks, i have tried the the below, but excel is saying there is an error in the formula.

=SUMPRODUCT(--(ISERROR((RPT!$F$6:$F$2793)=FALSE),--(RPT!$F$6:$F$2793=$A8),(RPT!CV$6:CV$2793),(RPT!$M$6:$M$2793=Overview!$B8))/$H$3
 
Upvote 0
Sorry was writing off the top of my head, try:

=SUMPRODUCT(--(ISERROR(RPT!$F$6:$F$2793)=FALSE),--(RPT!$F$6:$F$2793=$A8),(RPT!CV$6:CV$2793),--(RPT!$M$6:$M$2793=Overview!$B8))/$H$3
 
Upvote 0
thanks for your help, it now allows the formula, but its still returning NA

=SUMPRODUCT(--(ISERROR(RPT!$F$6:$F$2793)=FALSE),--(RPT!$F$6:$F$2793=$A8),(RPT!CV$6:CV$2793),--(RPT!$M$6:$M$2793=Overview!$B8))/$H$3
 
Upvote 0
does RPT!$M$6:$M$2793 contain Error Values?

If not step through the formula in formula evaluation to see where the Error occurs. I cant test at the mo, I'm on a machine w/o XL.
 
Upvote 0
ive gone through the formula step by step and i cant see where it falls down.

does anyone have any other ideas?
 
Upvote 0
I have just gone through and for the errors in column F on the RPT tab i have just overwritten them with a value and the formula now works.

Does this help anyone to understand why it wasnt working previously?
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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