+ Reply to Thread
Results 1 to 5 of 5

Count if in a range between dates

Hybrid View

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    Poza Rica, Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Count if in a range between dates

    I'm looking the best way to count the number of people in a specific day given a range of dates. Attached is a file with the data and explanation.

    Thanks for your help!

    Attached Files Attached Files
    Last edited by jongova; 12-10-2012 at 03:37 PM.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Count if in a range between dates

    Try this:

    Put this formula in L2: =COUNTIFS($C$2:$C$16,L$1,$D$2:$D$16,"<="&$K2,$E$2:$E$16,">="&$K2)

    Then copy it across in M2, N2 and O2. Then fill down as far as you need to go.

    - Moo

  3. #3
    Registered User
    Join Date
    08-21-2012
    Location
    Poza Rica, Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Count if in a range between dates

    Thanks, it works for my.

    Regards
    jongova

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,907

    Re: Count if in a range between dates

    See attached

    Edit: Fast fingers MOO!
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Count if in a range between dates

    Fast fingers, indeed. I am a twin. If I had slow fingers I would have never eaten as a child.

    - Moo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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