+ Reply to Thread
Results 1 to 5 of 5

Counting Events in Excel

  1. #1
    Registered User
    Join Date
    10-15-2016
    Location
    USA, Kansas
    MS-Off Ver
    2013
    Posts
    2

    Counting Events in Excel

    Hello, a workbook full of a report that is pulled daily. The report tells me each phone stats for employees. So each day I know how long their phone was in a certain phone state. What I would like to do is add a MTD tab with a formula that will give me the person's name and count how many times they appear on a daily tab with phone state times higher than a certain percentage.

    The daily tab contains both raw data on the time and the percentage.

    Can this be done? and if so how?

    Thank you in advance

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Counting Events in Excel

    COUNTIFS()
    SUMIFS()
    Pivot Tables

    Attach a sample workbook with just enough data to demonstrate your need. Make sure your desired results are mocked up as well, manually calculated for now.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Counting Events in Excel

    Can you post a SMALL sample file and show us what result you expect?

    A SMALL file will have about 20 rows worth of data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    10-15-2016
    Location
    USA, Kansas
    MS-Off Ver
    2013
    Posts
    2

    Re: Counting Events in Excel

    Did I attach it correctly?
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Counting Events in Excel

    This solution makes use of some helpers. The tabs (sheets) to be 'counted' are listed in column P and the 'limit setters' are in R2 (>) and S2 (3%). The formula, which could be pasted in row 4 and copied down is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note that the range of sheets has been put in a table (Table1[Sheets]) so that the formula will update as new sheets are added to the list using the tab key.
    Note: this assumes consistent formatting of the daily tabs.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Is it possible Enable one/few events, and disable rest of the events by VBA Excel?
    By hoalahpi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2016, 02:24 AM
  2. Counting the max occurences of events
    By alfredkri in forum Excel General
    Replies: 12
    Last Post: 01-25-2011, 03:08 AM
  3. Counting dated events
    By shellmachine05 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2009, 08:05 PM
  4. Counting Events with 3 criteria
    By skep18 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-09-2008, 05:08 PM
  5. Counting events on a given day
    By SER01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2007, 06:58 PM
  6. [SOLVED] Counting the events
    By osj in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2005, 07:06 PM
  7. Counting events between times
    By monty_mm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2005, 12:05 PM

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