+ Reply to Thread
Results 1 to 5 of 5

Coding in an employee count month by month and per region/department

  1. #1
    Registered User
    Join Date
    02-09-2019
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    15

    Coding in an employee count month by month and per region/department

    Thank you for reading my post.

    Need to count the number of employees in each month, by category and region.

    I have attached a workbook exert which hopefully demonstrates the problem best.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16/365
    Posts
    52,116

    Re: Coding in an employee count month by month and per region/department

    That's quite an involved sheet you have there. I suggest that you include some sample answers and explain how you got them?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-09-2019
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    15

    Re: Coding in an employee count month by month and per region/department

    Made it a bit simpler and hopefully easier to understand now
    Thanks FDibbins
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    14,531

    Re: Coding in an employee count month by month and per region/department

    Deleted by JeteMc.
    Thank You to FlameRetired for posting the correct formulas.
    I hope that you have a blessed day.
    Last edited by JeteMc; 06-14-2019 at 10:31 PM. Reason: Errors in formulas
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365, rarely 2007
    Posts
    12,753

    Re: Coding in an employee count month by month and per region/department

    Initially I came up with the same formulas as JeteMc. Then I noticed my results weren't what you expected. I too was counting non-blank cells.

    Did not do a pains taking check, but these appear to match the sample.

    =COUNTIFS($K$21:$K$67,$B70,O$21:O$67,">0")

    =COUNTIFS($J$21:$J$67,$B79,O$21:O$67,">0")
    Dave

+ 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: 2
    Last Post: 08-16-2017, 02:11 AM
  2. Employee count by month
    By rpetty in forum Excel General
    Replies: 1
    Last Post: 04-13-2017, 06:55 PM
  3. Replies: 1
    Last Post: 04-07-2016, 06:37 PM
  4. Replies: 2
    Last Post: 12-18-2015, 02:42 PM
  5. Count number of networkdays for each month in a multi month period
    By dreddster in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2013, 11:12 AM
  6. Replies: 12
    Last Post: 08-19-2012, 11:12 AM
  7. return sales for specified month and department
    By Chanley24 in forum Excel General
    Replies: 5
    Last Post: 03-15-2010, 02:28 AM

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