View Single Post
 
Old 07-17-2015, 08:17 AM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

I've always found the easiest way to work with times is to..... well, work with times.
If the times you have were real times rather than text, you could put this in F3 and drag across and down.

=IFERROR(IF(AND(F$2>=VLOOKUP($E3,$A$3:$C$7,2,FALSE ),F$2<=VLOOKUP($E3,$A$3:$C$7,3,FALSE)),"Yes","")," ")

see attached file.
Attached Files
File Type: xlsx Sample_with_real_times.xlsx (10.8 KB, 12 views)
Reply With Quote