=SUMPRODUCT not working

G

Guest

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.
 
B

Bob Phillips

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

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

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
G

Guest

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
 
G

Guest

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 +.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top