+ Reply to Thread
Results 1 to 3 of 3

Extracting data between 2 time periods

  1. #1
    Registered User
    Join Date
    03-29-2017
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    56

    Extracting data between 2 time periods

    Morning...

    I'm wondering if anybody could help me with some vba code.

    i have some data which covers 2 days and its over 10000 rows long, i have been trying to get unique values from 1 column based on multiple criteria in 2 other columns using this formula;

    SUM(--(FREQUENCY(IF($K$11:$K$10000=$F$5,IF($M$11:$M$10000=Q9,MATCH($I$11:$I$10000,$I$11:$I$10000,0))),ROW($I$11:$I$10000)-ROW($I$11)+1)>0))

    it does work but as you can imagine its taking a lot of time to calculate.

    i was wondering if it would be possible at all to limit the amount of data rows by just extracting the data between 2 points as there is a lot of data not actually needed... i have tried doing this but the problem i have it spans over 2 different days.

    ideally i would like it to show all data from from 07:30:00 (day 1) to 07:20:59 (day 2) and then reset - is this even possible??

    Many thanks in advance.

    here is some sample data

    data.png

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Extracting data between 2 time periods


    Morning …

    Try a filter or an advanced filter, could be faster …

  3. #3
    Registered User
    Join Date
    03-29-2017
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    56

    Re: Extracting data between 2 time periods

    Hi Marc,

    i was looking for a more automatic solution as its a report that is generated every hour by someone with limited excel skills.

+ 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: 8
    Last Post: 06-08-2017, 04:48 PM
  2. How to compare two sets of data from two different time periods
    By tkoral in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-07-2017, 03:10 PM
  3. [SOLVED] Formulae not extracting correct records by date periods
    By Ochimus in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-15-2017, 07:15 PM
  4. Calculate time by time periods splitting productivity
    By cgfourman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2014, 03:04 PM
  5. Replies: 0
    Last Post: 04-25-2011, 05:18 PM
  6. time durations within time periods (greater than/less than?)
    By rosieb13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2007, 10:38 AM
  7. Extracting 12 month periods
    By sikhest in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-02-2007, 04:20 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