M
Michael Link
I have a cell (call it A1) containing a date/time stamp of the format mm/dd/
yy hh:mm AM/PM. I'm trying to conditionally format a second cell so that it
turns yellow when the time in the first cell is after (say) 12 noon. In the
conditional formatting box for the second cell I've tried entering the formula
=A1>"12:00"
but the format never kicks in. I thought maybe there was an issue with the
date/time formatting in A1 (you know, that maybe the conditional
formatting formula might work if A1 contained ONLY a time), but
reformatting A1 to show only a time didn't help either. (And in any event, A1
really needs to have the format I've mentioned.)
Does anyone know if the usual <,>,= operators simply don't work with
times? If so, might there be any workarounds? Thanks!
yy hh:mm AM/PM. I'm trying to conditionally format a second cell so that it
turns yellow when the time in the first cell is after (say) 12 noon. In the
conditional formatting box for the second cell I've tried entering the formula
=A1>"12:00"
but the format never kicks in. I thought maybe there was an issue with the
date/time formatting in A1 (you know, that maybe the conditional
formatting formula might work if A1 contained ONLY a time), but
reformatting A1 to show only a time didn't help either. (And in any event, A1
really needs to have the format I've mentioned.)
Does anyone know if the usual <,>,= operators simply don't work with
times? If so, might there be any workarounds? Thanks!