+ Reply to Thread
Results 1 to 2 of 2

Time Intervals, Ranges, IF function, Lookup Function

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2014
    Posts
    16

    Time Intervals, Ranges, IF function, Lookup Function

    Hello All,

    I was hoping to get some help with ranges, lookups and time intervals.

    Table "Second Break Down" has every second listed (Col: N) and the individual (Col:O & P). The goal is to use the data from the "Time Adjusted Data" table to return a value of 1, 0 or -1 in the MBR column (Col: O) depending on which bowl that individual was in (Col: A). The way I want the formulas to work is as follows:

    IF:
    -Col:N is greater than or equal to any value in Col:J but less than the adjacent value (Col:K), but only if it has an adjacent value (therefore ignoring rows that values only in Col:J but not Col:K)
    -Col is equal to the value in O9


    Return:
    "1" if Col:A has a value of "R"
    "-1" if Col:A has a value of "W"
    "0" if the value in Col:N does not fall within any of the time ranges in Col:J and Col:K


    To explain this in longer terms:

    If the time value falls within any of the time intervals in the Time Adjusted Data table and that time interval belongs to the individual in question, I want the respective value of 1, -1 or 0 to display beside the second in question. Therefore when I graph this, I get for each individual's location throughout the entire experiment.

    For example, in Row 10, Col:J & K, we can see that MBR was on the "R" bowl (Col: A) from 00:00 to 2:42 seconds. Therefore in Col:O, I am hoping to see "1" repeating from 00:00 to 02:42. In row 15, the same thing except MLN was on the "W" bowl (Col: A) from 00:21 to 00:47, therefore in a Col:P, I would want to see "-1" from 00:21 to 00:47. Everything between Row 10 and Row 15 should be ignored since it doesn't have a value.

    As I mentioned above, the goal is to plot all the data of each individual to see their location over the entire experiment, ie. I want to see where MBR was at different times, either R Bowl, W Bowl or nothing; comparing this to the rest of the data we have collected (not shown here to help keep things simple).


    I hope that makes sense. Thank you.
    Last edited by HDTV; 07-23-2014 at 04:07 PM.

  2. #2
    Registered User
    Join Date
    06-06-2014
    Posts
    16

    Re: Time Intervals, Ranges, IF function, Lookup Function

    I re-did the post above with the correct columns and tried to update the description to make more sense
    Last edited by HDTV; 07-23-2014 at 04:05 PM.

+ 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. Lookup Function Between Multiple Date Ranges
    By nelobynature in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2013, 04:56 PM
  2. [SOLVED] If function checking 2 time ranges
    By farhanthaheem in forum Excel Formulas & Functions
    Replies: 42
    Last Post: 04-06-2013, 04:55 PM
  3. Replies: 1
    Last Post: 02-10-2012, 07:38 PM
  4. Converting Data in Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:42 AM
  5. IF function needed for time intervals
    By reggie1000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2008, 07:14 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