LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Conditional Formatting Times

You must mark somehow the finish day. If expected finish time is 11:50 PM and
actual finish time is 12:40 AM, one can't decide if it's the same day and the
job is done ahead of time or it's the next day and the job is done late.

One way could be to mark same day with 0 in B2 and next day with 1 in B2. In
this case insert
=$A$2+$B$2$A$1+TIME(0,10,0)
as first condition (red)
=$A$2+$B$2$A$1
as 2nd condition (yellow)
=AND($A$2+$B$2<=$A$1,NOT(ISBLANK($A$2)))
as 3rd condition (green)

Regards,
Stefi

kimberlyd. ezt *rta:

Cell A1 is expected finish time of 11:50 PM. Cell A2 is actual finish time.
I need to conditionally format cell A2 to show green if finished on or ahead
of time, show yellow if finished between ontime and 10 minutes late, and red
anything later than 10 minutes late. The times often go into the next day. An
example of a finish time is 12:40 AM which I need to show as red. Thanks in
advance.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting comparing times Mike Excel Worksheet Functions 14 February 17th 09 06:06 PM
Excel 2007 Conditional formatting - change text colour when enteringsame name more than 3 times [email protected] Excel Discussion (Misc queries) 2 September 6th 08 05:50 PM
Conditional Formatting for times terry Excel Discussion (Misc queries) 1 March 25th 08 02:16 PM
Formatting Times In Excel panmusic Excel Worksheet Functions 2 April 24th 07 02:00 PM
Formatting values to be Times of day... Al Gillis Excel Discussion (Misc queries) 3 June 17th 06 11:07 PM


All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"