+ Reply to Thread
Results 1 to 8 of 8

count number of records per month based on criteria

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester, England
    MS-Off Ver
    O365
    Posts
    23

    count number of records per month based on criteria

    Hi

    I want to count the number of times someone has called per month based on their ID number.
    On sheet 1 I have the data and on sheet 2 I have the summary report.

    Attached is sheet 1 with the dataset and sheet 2 with the summary report and then an example of the outcome that I want on sheet 2

    Sheet 1.png
    Sheet 2.png
    Sheet 2 - with data.png

    I have tried using a pivot table but it doesn't display as I want.
    The data sheet (Sheet 1) will be populated monthly and I can change the headings for the summary page for the months.

    Hopefully that makes sense.
    Thanks in advance.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: count number of records per month based on criteria

    I can see no reason why a Pivot Table can't produce the information you want.

    Please upload the workbook so that we can see your data in context and check.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester, England
    MS-Off Ver
    O365
    Posts
    23

    Re: count number of records per month based on criteria

    Hi Richard
    I think I have just uploaded the workbook. I'm hgaving issues with the paperclip attaching, so hopefully this has worked.
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: count number of records per month based on criteria

    Hi nd2828,

    See if this example helps explain how a Pivot might do your problem. I've created some sample data.

    Pivot Example for nd2828.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: count number of records per month based on criteria

    OK -
    Now that you have an exact example here is my answer.

    Pivot Example Exact for nd2828.xlsx

  6. #6
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester, England
    MS-Off Ver
    O365
    Posts
    23

    Re: count number of records per month based on criteria

    Thanks Marvin,

    That would work thanks, but this would mean that the data for each type is not next to each other on the report. Is that possible?

  7. #7
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester, England
    MS-Off Ver
    O365
    Posts
    23

    Re: count number of records per month based on criteria

    Thanks for the newer version but I don't know if a pivot is the best option as it doesn't show the blank months

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: count number of records per month based on criteria

    Does this variation help....

    I've added an extra colum to your data.
    Attached Files Attached Files

+ 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. Replies: 6
    Last Post: 10-27-2017, 05:59 AM
  2. [SOLVED] Count number of lines based on text and number criteria, without duplicates
    By HVCompleto in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2017, 07:17 AM
  3. formula to get number of working days in a month based on criteria
    By aravindhan_31 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 08-15-2016, 06:22 AM
  4. [SOLVED] count the number of unique text records with multiple criteria
    By Perk1961 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-22-2016, 04:30 PM
  5. Count records in table based on criteria, select and paste to a new spreadsheet
    By thisguy4000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2014, 09:43 AM
  6. Fromula to count number of records fro each month per salesperson
    By A-Ibraheem in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2013, 04:57 AM
  7. count number of records per month
    By HurricaneDan in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-09-2007, 04:30 PM

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