+ Reply to Thread
Results 1 to 7 of 7

COUNTIFS to segregate the total value into different categories

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    COUNTIFS to segregate the total value into different categories

    Hello,

    So I have data showing the mobile phone use of a business' employees for one month.

    The total number of calls made by employees was 1,724
    I want to segregate this number into different categories of time for better understanding of the data.

    Categories:
    1 - 9 seconds
    Please Login or Register  to view this content.
    10 - 59 seconds
    Please Login or Register  to view this content.
    1:00 - 4:59 minutes
    Please Login or Register  to view this content.
    5:00 - 09:59 minutes
    Please Login or Register  to view this content.
    10:00+ minutes
    Please Login or Register  to view this content.
    So essentially the 1,724 will be split based on how long each of those calls were.

    I've had moderate success with the COUNTIFS function, however, the total of the categories equals 1,731 which is accounting for 7 more calls...

    I used to format the formulae with ">=" e.g. 1 - 9 sec would be: >=00:00:01 / <=00:00:09
    but this returns LESS than 1,724

    I'm confused as to what's going wrong? The times I've put in each formula don't seem to "over wrap" each other, yet some calls are counted more than once.

    Is there a way to do this without COUNTIFS? Or have I made an obvious mistake?

    Any help would be greatly appreciated

    Many thanks

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: COUNTIFS to segregate the total value into different categories

    =COUNTIF($A:$A,">="&$D5)-SUM($E6:E$50) for 10 min, pull up
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: COUNTIFS to segregate the total value into different categories

    This works, I appreciate your fix.

    However, when I paste my 1,724 duration values into the sheet you made, the 5 formulae's total equals 1,297 instead of 1,724

    So... the issue must be with my data.

    Thanks again

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: COUNTIFS to segregate the total value into different categories

    there aren't any zero length calls? or the duration is effected by calls over midnight (if it is calculated elsewhere?)

  5. #5
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: COUNTIFS to segregate the total value into different categories

    There are zero length calls but the formula that's used to calculate them is correct and doesn't need amending so I just left it out.
    I have a separate COUNTIF to calculate the number of zero length calls.

    Sorry for leaving that out

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: COUNTIFS to segregate the total value into different categories

    No I was wondering if the discrepancy between 1724 lines and 1297 was that there were some zero length calls and they account for the difference (427). No need to appologize!

  7. #7
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: COUNTIFS to segregate the total value into different categories

    I literally have zero common sense while I'm at work haha.

    Yeah that was it, I did a COUNTIF for the zeroes and it totalled 427.

    Which means tim2011101's formulae works! Thank you v much both of you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Countifs total
    By Shamz41 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-09-2017, 04:06 AM
  2. Replies: 1
    Last Post: 03-11-2014, 04:42 PM
  3. [SOLVED] Total categories of expenses spreadsheet
    By Rushd in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-09-2014, 05:03 AM
  4. [SOLVED] How to find % of total for all the items in different categories
    By tantcu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2013, 06:39 PM
  5. [SOLVED] Combining COUNTIFs with SUM IF FREQUENCY MATCH to work out a total
    By acillatem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2013, 03:36 AM
  6. COUNTIFS to filter age categories
    By DonExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-24-2013, 03:54 AM
  7. Replies: 1
    Last Post: 05-15-2013, 06:55 AM

Tags for this Thread

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