T
Titanium
Superb! Thanks so much.
JMB said:I think you just added an extra ")" at the end of the first lookup. And you
probably want >= for the first condition if it is "open" at exactly 5:00 or
7:00.
=IF(AND(HOUR(A16)>=LOOKUP(WEEKDAY(A16,2),{0,6,7},{5,7,7}),HOUR(A16)<LOOKUP(WEEKDAY(A16,2),{0,6,7},{20,15,16})),"On Time","Closure Time")