Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
amount of working days per month | Excel Discussion (Misc queries) | |||
Calculation with Working day of the year | Excel Discussion (Misc queries) | |||
Working days left in the month compared to previous months | Excel Worksheet Functions | |||
Working time and days | Excel Worksheet Functions | |||
Working time and days | Excel Discussion (Misc queries) |