+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting - time,hours,days

  1. #1
    Registered User
    Join Date
    05-13-2010
    Location
    South africa
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Conditional Formatting - time,hours,days

    I need some help please!

    Have a Spreadsheet with a few columns, I want to add conditional formatting to column H which consist of Response times for instance
    10
    05:27
    06:18
    46
    24
    46
    49
    > 3day!!!
    05:03
    > 1day!!!
    > 6day!!!
    I want to mark anything that is under 4 hours in green, and anything above 4 hours below 17 hours with a purple, and the rest in red, how do I do this?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,694

    Re: Conditional Formatting - time,hours,days

    You are using three different formats here which makes things a bit tricky. For example, what does "10" mean? Is that seconds, minutes, hours, or days? Is "05:27" in hh:mm or mm:ss?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-13-2010
    Location
    South africa
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Conditional Formatting - time,hours,days

    The current format that the report comes with it as follows
    10m
    05h:27m
    06h:18m
    46m
    24m
    46m
    49m
    > 3day!!!
    05h:03m
    > 1day!!!
    > 6day!!!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting - time,hours,days

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Conditional Formatting using hours/time
    By dwtaxguy in forum Excel General
    Replies: 11
    Last Post: 06-26-2017, 02:01 PM
  2. Replies: 2
    Last Post: 11-12-2014, 11:56 AM
  3. Conditional formatting for dates/time x hours passed
    By Sirodot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2012, 11:04 AM
  4. [SOLVED] Using Conditional Formatting to Highlight Cells When Date/Time is 12 & 18 Hours Later
    By redogue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2012, 10:53 AM
  5. Replies: 0
    Last Post: 04-07-2011, 01:46 AM

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