+ Reply to Thread
Results 1 to 3 of 3

Multiple timespans

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Moscow City
    MS-Off Ver
    Excel 2003
    Posts
    6

    Multiple timespans

    I have about 50 timespans.
    Each is formatted to have start time in column A and end time in column B (DD/MM/YY h:mm).
    I also have a list, with about 850 rows timestamped (same format).
    I need to mark all rows which fall in one of the ranges.

    Thanks in advance.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Multiple timespans

    If Start times are in column A and end times in column B and the time is in E2 then

    =COUNTIFS(A:A,"<" & E2,B:B,">" & E2)

    will count how many of the timespans cover the time in E2.

    I note that you might not have access to a later version of Excel so you might consider just posting the times so that a more recent version can be used. COUNTIFS is a relatively new addition to the set of functions.
    Martin

  3. #3
    Registered User
    Join Date
    06-12-2013
    Location
    Moscow City
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Multiple timespans

    Thanks for your solution. I can't test it yet, but I think it'll work.

    I have a later version of Excel, my profile is a bit outdated

+ 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. Replies: 20
    Last Post: 03-13-2013, 04:15 PM
  2. [SOLVED] Large spreadsheet; multiple scores on multiple dates for multiple students
    By MelindaCapri in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-16-2012, 06:03 PM
  3. Return Multiple Values with multiple rows & multiple columns
    By sachin parab in forum Excel General
    Replies: 2
    Last Post: 11-05-2012, 10:21 AM
  4. Replies: 5
    Last Post: 11-04-2010, 06:02 AM
  5. Multiple charts over multiple sets of data over multiple worksheets.
    By matrocka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2007, 10:01 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