Between Times

A

Andy P

I require a formula that checks a time (09:30) and
highlights it grey if it falls between the times in two
other cells - see below

Start Time End Time
8:00 12:30

09:30 - so how would the conditional format formula look
in the cell that has 09:30 in it.

Thanks

Andrew
 
F

Frank Kabel

Hi
in the conditional format dialog choose formula and enter your formula
with a reference to the cell
 
F

Frank Kabel

Hi
o.k.
lets say your two times are in cell A1 and cell B1 and your cell to
format is cell D3:
- select cell D3
- goto the conditional format dialog, choose Formula
- enter the formula
=(D3>=$A$1)*(D3<=$B$1)
- choose your format
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top