I am looking for a formula that can check if date/time is between to a start date/time cell and end date/tome cell and return a specified value.

For instance:

If cell F1 has a enter value of 1/1/2018 12:00:00 AM; and cell H1 has and 1/1/2018 12:59:59 AM, then I want the value return to be "1".
or
If cell F1 has a enter value of 1/1/2018 1:00:00 AM; and cell H1 has and 1/1/2018 1:59:59 AM, then I want the value return to be "2".
So on and so forth; All of the way up to return value of 24

or
If cell F1 has a enter value of 1/1/2018 12:00:00 AM; and cell H1 has and 1/1/2018 1:59:59 AM, then I want the value return to be "1/2" oor whatever return format is easiest..

The Dates are included in the cell, but I just need to determine if the times in the two cells fall between two times and return the appropriate value.

Any help will be appreciated. Thanks in advance.

Tim