+ Reply to Thread
Results 1 to 6 of 6

Counting for an unusual time format.

  1. #1
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Counting for an unusual time format.

    I have attached an example of the problem, the company database spits out the duration data into this format and I need to be able to get the count of calls that exceed 3min. If it was a proper time format it would be easy with a countifs formula but unfortunately it is not.

    Any help would be appreciated.
    Attached Files Attached Files
    Last edited by percyth1; 01-31-2012 at 09:29 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Counting for an unusual time format.

    Try this, in F2, copy down.

    =SUMPRODUCT(COUNTIFS(A$1:A$11,E2,B$1:B$11,ROW(A$1:A$4)-1&"m*"))

    This will count the minutes <=3.

    If you are looking to count <=6 minutes change ROW(A$1:A$7)-1

    ROW(A$1:A$lookup_minutes+1)-1
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Counting for an unusual time format.

    Put this formula in F2:

    =SUMPRODUCT((--LEFT($B$2:$B$11,SEARCH("m",$B$2:$B$11)-1)>=3)*($A$2:$A$11=E2))

    then copy down for as many employees as you have in column E.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Counting for an unusual time format.

    Thanks, but can this work if the calls go above 10min?

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Counting for an unusual time format.

    Yes, See the attached.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Counting for an unusual time format.

    I'm meant to say count of calls over 3min but that still works. I can deduct it off the total.

    Thanks.
    Last edited by percyth1; 01-31-2012 at 11:15 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1