Time Difference

  • Thread starter Thread starter Rajkumar
  • Start date Start date
R

Rajkumar

Dear All,

I have some doubt in Date & Time Format.

I have some (time) appearing in a column in this format 7/17/2006
3:20:53 PM..
I need to have a conditional formatting for this in that column.
Ie., if the time in the column is less than 20 minutes to the current
time (ie.,now())
then it should change to some color.

Any help in this regard.

Rajkumar
 
You could use a conditional format formula of

=AND(A1<=NOW(),A1>=NOW()-TIME(0,20,0))

but it will only update if there is something else that forces a
recalculation

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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

Back
Top