+ Reply to Thread
Results 1 to 2 of 2

Count observations based on date

  1. #1
    Forum Contributor
    Join Date
    11-04-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    114

    Count observations based on date

    I have employment data (start date and end date if applicable).

    I want to be able to count number employed per category per month (historically).

    I am trying to do a pivot but don't know if that is possible.

    Maybe a COUNTIF but that did not work either.

    I have attached an example with data and what I am trying to do.
    Attached Files Attached Files
    Last edited by trolle; 11-12-2018 at 12:45 PM. Reason: typo

  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 observations based on date

    Hi,

    B8 copied across and down

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


    See attached

    A Pivot Table uses a database of individal records and summarises them.
    What you have here is a sort of rules based system whereby you specify start and end dates to work. Consequently a PT is not possible.

    It may be possible with an Excel PowerQuery Add In, someone else may advise on this.
    Attached Files Attached Files
    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.

+ 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. Count #'s based on date
    By L40 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-12-2015, 03:45 PM
  2. Replies: 4
    Last Post: 07-06-2015, 08:39 AM
  3. [SOLVED] Count Unique Instances of Date while filtering based upon date and ID #
    By pmambrosetti in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-15-2014, 02:22 PM
  4. Replies: 1
    Last Post: 02-20-2013, 07:57 PM
  5. [SOLVED] To count the number of rows based on date and check how old the row is from current date.
    By raovv in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-04-2013, 11:45 AM
  6. [SOLVED] To Count based on DATE
    By karthik013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2012, 07:04 AM
  7. Using VBA to count Criteria based on Date
    By baisty182 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2011, 07:10 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