+ Reply to Thread
Results 1 to 4 of 4

Countif between time ranges

Hybrid View

dreicer_Jarr Countif between time ranges 10-14-2008, 06:46 PM
shg I can't tell what you're... 10-14-2008, 07:33 PM
dreicer_Jarr Countif between time/dates 10-14-2008, 07:59 PM
shg In B14 and copy down and... 10-14-2008, 10:47 PM
  1. #1
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Countif between time/dates

    I want to know how many instances are over or under a specified criteria (e.g. >=30) by hour of the day. So if I had 30 instances between 2 and 3, I would want to know how many were over or equal to 30.

    The formula needs to look at three collumns. The first two are dates/times and will tell it whether the time is between what hours. The second is the "instances" or data that is being compared to the criteria. See this spreadsheet....the stuff under row 13 is just my setup...
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    In B14 and copy down and across,

    =SUMPRODUCT( ($B$2:$B$7 >= $A14 + B$13) * ($B$2:$B$7 < $A14 + B$13 + "1:00") * ($C$2:$C$7 >= 30) )

    The times in S13:Y13 need to be changed to not be on 1/1/1900, unless they are intended to be on the following day.
    Last edited by shg; 10-14-2008 at 10:54 PM.
    Entia non sunt multiplicanda sine necessitate

+ 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. COUNTIF in non contiguous cell ranges
    By barrycarney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2008, 02:38 PM
  2. total time
    By telcotech in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2008, 10:44 PM
  3. Time Ranges
    By jmag in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-17-2008, 03:24 PM
  4. countif on nonconnected ranges
    By village_idiot in forum Excel General
    Replies: 17
    Last Post: 05-15-2007, 06:51 PM

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