+ Reply to Thread
Results 1 to 3 of 3

Use excel to count number of concurrent external calls

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    United States
    MS-Off Ver
    Excel Mac 2011
    Posts
    1

    Use excel to count number of concurrent external calls

    I am contemplating switching my company phone service from a traditional pri circuit to a virtual sip trunk. I need to determine the maximum number of calls at any one time. I have a spreadsheet (see attached) that contains start_timestamp, answer_timestamp, end_timestamp, destination, billsec, duration, and direction. The time stamps are down to the second. I'd like to calculate how many simultaneous calls are happening at any given time so I can order the correct amount of telephone lines from the phone company. To complicate things, i do not need to count calls that are between internal 4 digit extensions. For example, i do not need to count a call between 3876 and 3954. I only need to count a call if either the caller or destination is an external number. Ive googled around but cant find anything that does specifically this. Thank you!!!cdr.xls

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

    Re: Use excel to count number of concurrent external calls

    One way of doing this (probably better in another sheet), is to duplicate all the records - you don't need all the fields, just the timestamps i.e. copy the start_timestamp field for all the records into cell A2 and use a helper column (B) and fill it with "b" (for begin), then copy all the end_timestamp column below it in column A and use "e" (for end) in column B for those records. You can use row 1 for headers - Date/time and Type. Then you can sort this data by Date/time and by Type, and then in column C you can put these in the cells stated:

    C1: Number
    C2: 1
    C3: =IF(B3="b",C2+1,C2-1)

    and then copy the formula from C3 all the way down to the bottom of your data - that will give you a running count of the number of simultaneous calls at any point in time, by incrementing the count when a call begins and decrementing the count when a call finishes. You can apply a filter to that column to see the range of values, or you could use a formula like = MAX(C:C) to find the largest value.

    Hope this helps.

    Pete

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,657

    Re: Use excel to count number of concurrent external calls

    Which column can I find:
    * Internal 4 digits extension
    * 3876 and 3954
    How to know if it is extenal number?
    However, can you shorten the list and give the designed result for few cases?
    Quang PT

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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