+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting to Highlight Entire Rows

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    24

    Conditional Formatting to Highlight Entire Rows

    I have a spreadsheet that keeps track of employee's log in times in "hrs, mins, secs". I need an entire row to highlight if an employee has been logged in for +8hrs. The hours/mins/secs are formatted as 3:17:26 or [h]:mm:ss.

    Much help would be appreciated.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Conditional Formatting to Highlight Entire Rows

    Assuming you want to highlight columns A to Z in each row where the time value in column C is greater than 8 hours then select the whole range, e.g. A1:Z100 and use this formula

    =$C1>TIME(0,8,0)

    Note you need to use the $, adjust the C1 based on the time column and the first row of your data
    Audere est facere

  3. #3
    Registered User
    Join Date
    01-05-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Conditional Formatting to Highlight Entire Rows

    When I put in that formula into conditional formatting, it turns the whole selection the chosen color. Anything I may be doing wrong? I picked A:2:G:1172 and need it go =$G2>TIME(0,8,0)

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Conditional Formatting to Highlight Entire Rows

    Doh!

    my error, TIME(0,8,0) is 8 minutes.....should be TIME(8,0,0)......

  5. #5
    Registered User
    Join Date
    01-05-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Conditional Formatting to Highlight Entire Rows

    Thanks!!! I should have even recognized that! haha....

    Your help much appreciate mate

+ 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