+ Reply to Thread
Results 1 to 4 of 4

Count the occurrences of dates in a month against a condition

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    United Arab emirates
    MS-Off Ver
    Excel 2010
    Posts
    2

    Count the occurrences of dates in a month against a condition

    Hi,

    How do I count the occurrences of dates in a month against a condition. For eg: There might be 10 people who joined a company in Jan on different dates wherein 5 ppl where assigend to manfacturing dept, 2 to finance and 3 to HR. If this is the case, then how do I formulate the number of ppl recruited in Jan to HR.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Count the occurrences of dates in a month against a condition

    Try like this

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    United Arab emirates
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Count the occurrences of dates in a month against a condition

    Perfect !!! thank you, that formula works absolutely the way I need.

    Now , for a slightly different instance.

    Since these resources are paid from the budget allocated per department, I would like to know the number of resources allocated per department in the month of Jan till dec.

    As per the above eg: Within the 5 ppl assigned to manufacturing department in Jan, 3 moved to Marketing by 01-Mar.

    Now the new resource allocation per month for manufacturing & marketing department(assuming no new resources were allocated to marketing in months of Jan/feb) will be

    Months Jan Feb Mar
    Manufacturing department 05 05 02
    Marketing department 00 00 03

    Please help to formulate the above?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Count the occurrences of dates in a month against a condition

    Glad it helps you and thanks for the feedback

    Please attach a sample workbook with expected output for better understanding

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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