Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default =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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default =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.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nospaminlich
 
Posts: n/a
Default =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.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default =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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
amount of working days per month Nigel Excel Discussion (Misc queries) 2 November 29th 05 10:41 AM
Calculation with Working day of the year Box666 Excel Discussion (Misc queries) 4 November 10th 05 06:33 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Working time and days Nortos Excel Worksheet Functions 5 May 6th 05 04:17 PM
Working time and days Nortos Excel Discussion (Misc queries) 1 May 6th 05 03:47 PM


All times are GMT +1. The time now is 04:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"