Align two similar but not matching time lists.

I have two pieces of data that are unique on their timestamps and are located on separate sheets.
The first piece of data is a series of events that occur at a particular time these are stored in sheet Trigger
The second piece of data is continuous series of data that is captured every couple of seconds this is stored on a sheet called Load

I would like to create a new column on the Load sheet that will indicate when a value occurred from the Trigger data.

One issue is the Trigger data will often occur between timestamps (but not always) on the Load data. IE

15:15:31
                 15:15:32 Trigger
15:15:33  
15:15:33
 
Please see sample file.

The sample file hold the data and an example of what I would like to achieve.
All I really need is to be able to identify if a count range in the Load sheet doesn't align with a trigger the solution doesn't need to be an exact match to the example. IE put trigger in the column.  
I am using excel 2013 for the sample.
IT SSMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
No attachment
0
IT SSMAuthor Commented:
Duh! Here it is thanks,
SampleLookup.xlsx
0
Danny ChildIT ManagerCommented:
what's  your tolerance on different times that would still count as a match, please?  And, does one always come after the other, or is it just 2 events that are close to each other (regardless of which came first)?
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

IT SSMAuthor Commented:
I am happy for either + 1 sec or minus 1 sec normally the result will fall between a second only.
hope that makes sense. the example above is indicative of this scenario.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this.....

On Load Sheet,
In E3

=IF(ISNUMBER(MATCH(1,INDEX((Trigger!$A$2:$A$10=$A$4)*(Trigger!$B$2:$B$10>=B3-TIMEVALUE("00:00:01"))*(Trigger!$B$2:$B$10<=B3+TIMEVALUE("00:00:01")),0),0)),"Trigger","")

and copy down.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
My apologies.

I didn't include the correct range reference in the formula. Here is the correct one.

=IF(ISNUMBER(MATCH(1,INDEX((Trigger!$A$2:$A$719=$A$4)*(Trigger!$B$2:$B$719>=B3-TIMEVALUE("00:00:01"))*(Trigger!$B$2:$B$719<=B3+TIMEVALUE("00:00:01")),0),0)),"Trigger","")
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Hi OST-IS,

Did it work for you?
0
IT SSMAuthor Commented:
excellent fast response thankyou
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome OST-IS! Glad to help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.