+ Reply to Thread
Results 1 to 12 of 12

Countif between date and time range

Hybrid View

Siops Countif between date and time... 03-06-2013, 02:21 PM
dilipandey Re: Countif between date and... 03-06-2013, 02:27 PM
Siops Re: Countif between date and... 03-06-2013, 02:32 PM
Siops Re: Countif between date and... 03-06-2013, 02:30 PM
dilipandey Re: Countif between date and... 03-06-2013, 02:48 PM
Siops Re: Countif between date and... 03-06-2013, 02:49 PM
dilipandey Re: Countif between date and... 03-06-2013, 02:51 PM
Siops Re: Countif between date and... 03-06-2013, 02:52 PM
dilipandey Re: Countif between date and... 03-06-2013, 02:54 PM
Kevin UK Re: Countif between date and... 03-06-2013, 02:59 PM
ZombieStench Re: Countif between date and... 03-06-2013, 02:59 PM
Siops Re: Countif between date and... 03-06-2013, 03:00 PM
  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Countif between date and time range

    Hi! I need help on counting between 2 criteria of date and time range. For example, how many instances between 01/01/13 9:00:00AM - 9:59:59AM. I tried the countifs formula but it counts only the number of dates.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Countif between date and time range

    okay.. can you post an example workbook ? thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Re: Countif between date and time range

    Here it is.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Re: Countif between date and time range

    Sorry for noob question, but how do I attach the sample file?

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Countif between date and time range

    okay.. you need instances between 0:00:00 and 1:00:00 ... but where ?
    do you need output in cell E2 or E3 ?


    Regards,
    DILIPandey
    <click on below * if this helps>

  6. #6
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Re: Countif between date and time range

    Yes sir. Between 00:00:00 to 00:59:59, 1:00:00 to 1:59:59, and so on.

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Countif between date and time range

    but where.. in front of 0:00:00 or in front of 1:00:00 ? i.e, in cell E2 or E3 ?


    Regards,
    DILIPandey
    <click on below * if this helps>

  8. #8
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Re: Countif between date and time range

    Yes sir. ----

  9. #9
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Countif between date and time range

    but where.. in front of 0:00:00 or in front of 1:00:00 ?



    Regards,
    DILIPandey
    <click on below * if this helps>

  10. #10
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Countif between date and time range

    Hi Siops

    Do you mean something like the attached file!
    Attached Files Attached Files
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  11. #11
    Registered User
    Join Date
    03-06-2013
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Countif between date and time range

    have two separate columns for start (say column A) & stop (say columns B) format both to time have a third column for formula =ABS(A1-B1) format to custom h:mm:ss

  12. #12
    Registered User
    Join Date
    10-10-2012
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 365
    Posts
    53

    Re: Countif between date and time range

    This works. Thanks, Kevin

+ 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