Help with Match/Vlookup/HLookup formula

jamezsez

New Member
Joined
Apr 1, 2012
Messages
10
Hi All,

I am having difficulty determining what type of formula to use for a problem I have.

I have a range of surveys that include a start and end time on a specific date. I also have a spreadsheet with an extract of device availability.

What I am trying to do is return a "Yes", "No" or "Partial" result to determine whether the device was out of action during the survey.

Example...

Survey ID: 1
Vehicle ID: 3035AO
Date: 2/4/13
Start time: 13:15
End time: 14:15

Availability
Vehicle ID: 3035AO
Alert text: Terminal Out of Order
Down Timestamp: 2/4/13 13:00
Up Timestamp: 2/4/12 15:00

In this example, the terminal was down for the entire length of the survey.

I have included a sample spreadsheet and linked below.

https://dl.dropboxusercontent.com/u/50218117/Device Available Check.xlsx


Thank you for your help.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi All,

I am having difficulty determining what type of formula to use for a problem I have.

I have a range of surveys that include a start and end time on a specific date. I also have a spreadsheet with an extract of device availability.

What I am trying to do is return a "Yes", "No" or "Partial" result to determine whether the device was out of action during the survey.

Example...

Survey ID: 1
Vehicle ID: 3035AO
Date: 2/4/13
Start time: 13:15
End time: 14:15

Availability
Vehicle ID: 3035AO
Alert text: Terminal Out of Order
Down Timestamp: 2/4/13 13:00
Up Timestamp: 2/4/12 15:00

In this example, the terminal was down for the entire length of the survey.

I have included a sample spreadsheet and linked below.

https://dl.dropboxusercontent.com/u/50218117/Device%20Available%20Check.xlsx


Thank you for your help.

What's determine the Yes/No in cell F2 on the Survey Sample tab?
Otherwords how did you get this answer?
 
Upvote 0
The cell will return 'Yes' when the survey sample period is fully included in one of the downtime rows. (example, Survey runs from 1pm-2pm, and a device is down during the full period of time).

It will return 'No' when the survey sample period is not included in one of the downtime rows. (example, Survey runs from 1pm-2pm, and a device is working for the full period of time).

And it will return 'Partial', if the survey sample period is partially included in one of the downtime rows. (example, Survey runs from 1pm-2pm and a device is down from 130pm-2pm).
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top