ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   =SUMPRODUCT not working (https://www.excelbanter.com/excel-worksheet-functions/70336-%3Dsumproduct-not-working.html)

JR

=SUMPRODUCT not working
 
Help please,

If I am wanting to count the number of times:

Damaged - Non-Shipping Related
Damaged - Shipping Related
Defective

appear in column C and return the numbers all together, why is hte following
sumproduct returning a zero? These conditions are indeed located in the
column.

=SUMPRODUCT((Daily_CS_Tic_Dump!C1:C1000="Damaged - Non-Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Damaged - Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Defective") )

Thanks for the help.

Bob Phillips

=SUMPRODUCT not working
 
You are doing an AND test on the three values, not an OR. Use

=SUMPRODUCT(--(ISNUMBER(MATCH(Daily_CS_Tic_Dump!C1:C1000,{"Damag ed -
Non-Shipping Related","Damaged - Shipping Related","Defective"},0))))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"JR" wrote in message
...
Help please,

If I am wanting to count the number of times:

Damaged - Non-Shipping Related
Damaged - Shipping Related
Defective

appear in column C and return the numbers all together, why is hte

following
sumproduct returning a zero? These conditions are indeed located in the
column.

=SUMPRODUCT((Daily_CS_Tic_Dump!C1:C1000="Damaged - Non-Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Damaged - Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Defective") )

Thanks for the help.




nospaminlich

=SUMPRODUCT not working
 
Try replacing the *'s with +'s.

The way you've written the formula appears to be saying if,and,and rather
than if,or,or.

By using the + instead of the * you're counting each criteria separately

Hope this helps

"JR" wrote:

Help please,

If I am wanting to count the number of times:

Damaged - Non-Shipping Related
Damaged - Shipping Related
Defective

appear in column C and return the numbers all together, why is hte following
sumproduct returning a zero? These conditions are indeed located in the
column.

=SUMPRODUCT((Daily_CS_Tic_Dump!C1:C1000="Damaged - Non-Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Damaged - Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Defective") )

Thanks for the help.


Kevin Vaughn

=SUMPRODUCT not working
 
You are multiplying which means you want all conditions to be true (and). I
bet you want to see if any of them are true (or) Try changing the * to +.

--
Kevin Vaughn


"JR" wrote:

Help please,

If I am wanting to count the number of times:

Damaged - Non-Shipping Related
Damaged - Shipping Related
Defective

appear in column C and return the numbers all together, why is hte following
sumproduct returning a zero? These conditions are indeed located in the
column.

=SUMPRODUCT((Daily_CS_Tic_Dump!C1:C1000="Damaged - Non-Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Damaged - Shipping
Related")*(Daily_CS_Tic_Dump!C1:C1000="Defective") )

Thanks for the help.



All times are GMT +1. The time now is 05:03 PM.

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