ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMPRODUCT with #VALUE error (https://www.excelbanter.com/excel-worksheet-functions/169432-sumproduct-value-error.html)

Joe Gieder

SUMPRODUCT with #VALUE error
 
First, thank you in advance for your help.
Can I use SUMPRODUCT to count the number of occurances of a value when there
are errors in the column I want to count?
Example is I was trying this formula to count the number of times J.Doe was
late but there are #Value errors in column V3:V890.
=SUMPRODUCT(--(F3:F890="J.DOE"),--(V3:V890="LATE"))
How do I get around this without deleting the formulas in the cells that
have the error because it will change when other data gets filled in.

Thanks for you help
Joe

Carim

SUMPRODUCT with #VALUE error
 
Hi,

Go with :

=SUMPRODUCT(--(F3:F890="J.DOE"),--ISERROR(V3:V890))

HTH

Peo Sjoblom

SUMPRODUCT with #VALUE error
 
One way using sum

=SUM(IF(ISERROR(V3:V890="LATE"),0,(F3:F890="J.DOE" )*(V3:V890="LATE")))


entered with ctrl + shift & enter

although it would be much better if you could correct the value errors in
V3:V890 and use your original formula




--


Regards,


Peo Sjoblom


"Joe Gieder" wrote in message
...
First, thank you in advance for your help.
Can I use SUMPRODUCT to count the number of occurances of a value when
there
are errors in the column I want to count?
Example is I was trying this formula to count the number of times J.Doe
was
late but there are #Value errors in column V3:V890.
=SUMPRODUCT(--(F3:F890="J.DOE"),--(V3:V890="LATE"))
How do I get around this without deleting the formulas in the cells that
have the error because it will change when other data gets filled in.

Thanks for you help
Joe




Joe Gieder

SUMPRODUCT with #VALUE error
 
Thank you for the formula, it worked perfectly.

Joe

"Peo Sjoblom" wrote:

One way using sum

=SUM(IF(ISERROR(V3:V890="LATE"),0,(F3:F890="J.DOE" )*(V3:V890="LATE")))


entered with ctrl + shift & enter

although it would be much better if you could correct the value errors in
V3:V890 and use your original formula




--


Regards,


Peo Sjoblom


"Joe Gieder" wrote in message
...
First, thank you in advance for your help.
Can I use SUMPRODUCT to count the number of occurances of a value when
there
are errors in the column I want to count?
Example is I was trying this formula to count the number of times J.Doe
was
late but there are #Value errors in column V3:V890.
=SUMPRODUCT(--(F3:F890="J.DOE"),--(V3:V890="LATE"))
How do I get around this without deleting the formulas in the cells that
have the error because it will change when other data gets filled in.

Thanks for you help
Joe






All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com