View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default Count Duplicate Numbers

Hi,

Assume your data is on range A1:E10. In cell B16, type 00:02:00. In A13,
type 17725710557. Now in B13, enter the following array formula

=SUMPRODUCT(($C$2:$C$10=$A13)*($B$2:$B$10-MIN(IF(($C$2:$C$10=$A13)*($B$2:$B$10),$B$2:$B$10)) =$B$16))

Enter 17204355125 in cell A14 and coy the formula down.

Please let me know how this works for you.

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"farid2001" wrote in message
...
Hello
I would really appreciate some help here.
I want to count duplicate numbers based on a time spam.
I've already got the duplicate dialed number Count using:
{=(COUNT(B2:B10))-SUM(IF(FREQUENCY(B2:B10,B2:B10)0,1))}
Also I am already able to get Duplicate dialed number Count by Location.

This is what I have:

Call Date/Time Number Dialed Location Duration
09/09 22:37:36 17204355125 Denver, CO 813
09/09 22:25:24 17204355125 Denver, CO 111
09/09 22:09:09 17204355125 Denver, CO 951
09/09 22:07:08 17725710557 Sebastian, FL 57
09/09 21:03:20 13018467933 Frederick, MD 57
09/09 20:41:52 17725711815 Sebastian, FL 532
09/09 20:36:21 17725710557 Sebastian, FL 9
09/09 20:35:31 17725710557 Sebastian, FL 29
09/09 20:34:33 17725710418 Sebastian, FL 1

For example in this situation we have that 17725710557 and 17204355125
were
dialed 3 times each, but what I need to count as duplicate is only if the
same number is dialed 120 seconds or less from the time the previous call
to
that same number was over.

I know its a real tough situation, can it be done?

Regards
farid2001