sumproduct ignoring errors

rayk8301

Board Regular
Joined
Aug 4, 2014
Messages
172
Hello,

I have been having some issues getting sumproduct to work and ignores errors and only focus on numbered cells. Example is I'm trying to get the weighted average of average handle times against the number of calls taken per person. Example sumproduct is = sumproduct(handle times, # of calls)/sum(# of calls))

any help is appreciated!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Re: sumproduct ignorning errors

What is the cells returning errors? Are they formulas? If so, what does the formula look like?
Usually the best way to handle errors is to handle them at the source (instead of ignoring them). So if we can update some formulas to make them go away, that might be our best bet.
 
Upvote 0
Re: sumproduct ignorning errors

Fix the errors in the first place seems a sensible start.
 
Upvote 0
Re: sumproduct ignorning errors

the errors are there for a reason, it's the only way I can get the graph lines to stop at the numbers and not continue on due to the errors, that's why I'm looking for a sumproduct, perhaps with a combination of isnumber or iserror to ignore those and return the result.
 
Upvote 0
Re: sumproduct ignorning errors

There are various different error codes that Excel might return. Which one are you seeing?
Also, please post your current SUMPRODUCT formula (that will at least let us know what ranges you are looking at), and let us know what range these possible errors exist in.
 
Upvote 0
Re: sumproduct ignorning errors

#NAME ? is the error.

In the calls taken column (column J) is where these errors occur, the other column (k:k - average handle time) doesn't have errors. so the formula that I want to use is

=sumproduct(k:k,j:j)/sum(j:j)
 
Upvote 0
Re: sumproduct ignorning errors

Since you are using SUMPRODUCT, I think it may need you to use an array formula, which is really not my strong suit. Maybe someone else will be able to chime in and help out.
In the meantime, you can do a Google search on "excel sumproduct ignore errors" and take a look at some of the ways people tried to handle this. Most of the ones I found were addressing the #N/A or #VALUE errors.
 
Upvote 0
Re: sumproduct ignorning errors

Thanks for your input anyway. Appreciate it. I ended up just making another column next to J and calling out each of the cells if they are numbers and "" if not, then using that new column in my sumproduct formula which did the trick. thanks again
 
Upvote 0
Re: sumproduct ignorning errors

See if this does what you want


I
J
K
1
Values​
Weight​
Result​
2
12​
1​
18,76923​
3
14​
2​
4
#NOME?​
3​
5
18​
4​
6
#NOME?​
5​
7
22​
6​

<tbody>
</tbody>


Array formula in K2
=SUM(IF(ISNUMBER(I2:I7),I2:I7*J2:J7))/SUM(IF(ISNUMBER(I2:I7),J2:J7))
Ctrl+Shift+Enter

Remark: for the sake of performance do not use references to entire columns in array formulas.

M,
 
Upvote 0
Re: sumproduct ignorning errors

this didn't work. i have to divide by I, not J. I switched in different ways but still nothing. No worries though thank you.
 
Upvote 0

Forum statistics

Threads
1,216,566
Messages
6,131,437
Members
449,652
Latest member
ylsteve

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