+ Reply to Thread
Results 1 to 6 of 6

Conditional Formating using time

  1. #1
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    56

    Conditional Formating using time

    Hello All,

    I would like some assistance with conditional formatting.

    I have attached some sample data.

    We have two time to compare our achievments to - Column B & C. The times for the dates listed from column D-S are pulled forward from daily spreadsheets as a cell reference but it only pulls the time reported.

    What I want to achive is to turn the cell green if it is before the target (column B) time and orange if it is in excess of the target time but less than the contracted time and finally to turn the cell red if the reported time is in excess of the contracted time.

    On the face of it this would seem easy but there are occasions when we will complete the work before midnight the previous day which turns the cell red when we want it green. However we would never complete the work before 18:00 on the previous day and on the day never later than 18:00 so I think I need to move the 24 hour period for time if that makes sense.

    I hope I have made some sense here and look forward to any assistance that may be forthcoming.

    Thanks & best regards,

    David
    Attached Files Attached Files
    Last edited by David_S_Walker; 06-17-2011 at 07:03 AM.

  2. #2
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Conditional Formating using time

    Anyone got any ideas on this for me?

    Best regards,

    David

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional Formating using time

    I have attached some sample data.
    There is no attachment.

  4. #4
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Conditional Formating using time

    Quote Originally Posted by Cutter View Post
    There is no attachment.
    Re-attached?

    It was there yesterday?

    Hope someone can give me some suggestions
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Conditional Formating using time

    See attached.

    I had to change some values as they were all going green, but it seems to work.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Conditional Formating using time

    Quote Originally Posted by brokenbiscuits View Post
    See attached.

    I had to change some values as they were all going green, but it seems to work.
    Thanks for that. I had managed to do something similar with a helper cell and an IF statement but your method is cleaner

    Best regards,

    David

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1