Sumproduct #value! error

Humate

New Member
Joined
Feb 13, 2006
Messages
43
Hi All,

I have searched the boards trying to find an answer to this but with no luck.

My formula is as follows:

=SUMPRODUCT((VALUE($E$11:$E$65435)>=$C13)*(VALUE($E$11:$E$65435)<=$D13)*(VALUE(O$11:O$65435)>0))

This works for most of my data, however this particular column (column 0) contains a formula that must have some errors present - these are hidden with ISERROR, but I think my calculations still finds them.

So my question is, how do I sum column $0 even though it contains #value! in some of those cells?

Many thanks in advance
Humate
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Brian,

Thanks for you reply - I have tried your version and it seems to be working and ignoring the #value! errors.

I no longer get #value! as the result of the calculation, but instead the sum returns 0, however this is not the right answer for my sum.

Any ideas what I am doing wrong? The formats for each range are set to general.

Thanks
Humate
 
Upvote 0
In column O I have a vlookup along the lines of this:

=if(iserror(vlookup($a13,'data!'$a$11:$a$10000,5,false)),"",(vlookup($a13,'data!'$a$11:$a$10000,5,false)))

Column E is a date, the vlookup in Column O is also returning a date.
 
Upvote 0
In column O I have a vlookup along the lines of this:

=if(iserror(vlookup($a13,'data!'$a$11:$a$10000,5,false)),"",(vlookup($a13,'data!'$a$11:$a$10000,5,false)))

Column E is a date, the vlookup in Column O is also returning a date.

My bad, try,

=SUMPRODUCT(--($E$11:$E$65435>=$C13),--($E$11:$E$65435<=$D13),--(ISNUMBER(O$11:O$65435)))
 
Upvote 0

Forum statistics

Threads
1,222,229
Messages
6,164,738
Members
451,911
Latest member
HMF009

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