View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
johncassell
 
Posts: n/a
Default Count Duplicates Order numbers for one Customer


Hello, can anyone tell me the formula for this..
Range A:A contains job numbers.
Range B:B contains the customer for that job number.
Ranbe C:C contains the order number for that job number.

I need a formula which says "Tell me how many order numbers for
Customer X are duplicates"

Basically Customer X can't have two of the same order number and I need
to know how many there are.

I have the following array formula to identify duplicate job numbers if
that helps..

=COUNTA($A$9:$A$4998)-SUM(IF(FREQUENCY(IF(LEN($A$9:$A$4998)0,MATCH($A$9 :$A$4998,$A$9:$A$4998,0),""),
IF(LEN($A$9:$A$4998)0,MATCH($A$9:$A$4998,$A$9:$A$ 4998,0),""))0,1))

Any help would be greatly appreciated.

Thanks

John


--
johncassell
------------------------------------------------------------------------
johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016
View this thread: http://www.excelforum.com/showthread...hreadid=511027