Results 1 to 5 of 5

Counting time ranges within a range

Threaded View

  1. #1
    Registered User
    Join Date
    09-05-2005
    Location
    Basingstoke, England
    MS-Off Ver
    2003
    Posts
    86

    Counting time ranges within a range

    I have a column of start times which are entered as per 24hr clock and what I am trying to do is to is to sort the times out into ranges;

    00:01 to 06:59, 07:00 to 19:00 and 19:01 to 00:00

    The range is T7:T488 and here is my first formula for 00:01 to 06:59 which works, it correctly finds 35 entries;

    =SUMPRODUCT(--(T7:T488>=I496),--(T7:T488<=I498))-COUNTBLANK(T7:T488)
    I have the time ranges set up for the two final formulas but I have massive negative values returned which is obviously not correct;

    =SUMPRODUCT(--(T7:T488>=I497),--(T7:T488<=I500))-COUNTBLANK(T7:T488)
    This returns a value of -289 whilst the other a value of -341.

    I may have gone about it the wrong way as I am trying to do things without too much assistance but this has me stumped. I would be most grateful to be shown the correct way, thank you.
    Last edited by Ducatisto; 10-16-2008 at 05:27 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting in between ranges
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 02-13-2014, 12:54 AM
  2. Countif between time ranges
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2008, 10:47 PM
  3. Comparing two named ranges and placing matches into third range
    By hydrojoe11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2008, 10:14 AM
  4. Counting names, total time, and comparing sums
    By WillGabriel in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 11-27-2007, 04:19 PM
  5. Replies: 2
    Last Post: 11-12-2007, 06:43 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