+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting: TIME greater then...

  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    Heredia, Costa Rica
    MS-Off Ver
    Excel 2003/ 2007/ 2010
    Posts
    6

    Question Conditional formatting: TIME greater then...

    Hello everyone!

    I am fighting with conditional formatting for times in excel.
    All the time cells are in the format: mm:ss;@. The value is retrieved trough a VLOOKUP from another sheet, same format, mm:ss;@

    The idea is:
    <= 8:30 (mm:ss) Green.
    > 8:30 <= 9:00 Yellow
    >9:00 Red.

    Does anyone have an idea how I can achieve the wanted?
    Any help is greatly appreciated.

    Chris!

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Conditional formatting: TIME greater then...

    Can you post a sample of your workbook for the members to work with..

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-13-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional formatting: TIME greater then...

    Hi Chris!

    You can create three conditional formatting for your case.

    I make a little sheet to show.

    CHRIS_EX.xlsx

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Conditional formatting: TIME greater then...

    hi Chris, welcome to the forum. select from whatever range you need (say from A2:A10), then press ALT + O + D & use this formula:
    =A2<=TIME(8,30,0)
    format as green

    do the same for the 2nd & use this formula instead:
    =AND(A2>TIME(8,30,0),A2<=TIME(9,0,0))
    format as yellow

    if you have dates inside the time, it you have to add MOD to A2. for eg.
    =MOD(A2,1)<=TIME(8,30,0)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Registered User
    Join Date
    05-30-2013
    Location
    Heredia, Costa Rica
    MS-Off Ver
    Excel 2003/ 2007/ 2010
    Posts
    6

    Re: Conditional formatting: TIME greater then...

    Thank you all!

    For some reason it is working fine with the solution that lmonteiro provided. I think I was over complicating things.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-04-2013, 02:31 PM
  2. Excel 2007 : Conditional formatting-Value is greater than
    By satishtote123 in forum Excel General
    Replies: 1
    Last Post: 06-11-2011, 12:17 PM
  3. Conditional Formatting and Greater than BUT less than
    By dagindi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2010, 03:08 PM
  4. Conditional Formatting greater than 100%
    By henro8 in forum Excel General
    Replies: 5
    Last Post: 10-08-2008, 05:18 PM
  5. Conditional Formatting if greater than zero
    By jkpha in forum Excel General
    Replies: 2
    Last Post: 10-31-2007, 01:50 PM

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