+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting with NOW() function

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    london, england
    MS-Off Ver
    Excel 2008
    Posts
    2

    Conditional formatting with NOW() function

    Hi Y'all,

    I'm trying to make each row of cells highlight in red, if the current time is later than the time in a certain cell (Call+Slip), so Column C in the attached file.

    I'm a complete newb to excel and this is probably fairly easy. Also, how, when you try 'Repeat Conditional Formatting', do you make it so each row corresponds to the Column C cell in that particular row? Is there a way of putting the formula in so instead of specifying the exact cell (e.g. $C$5), you can type something so it selects the cell in Column C in the row that is being formatted?

    I'd really appreciate any help on this whatsoever as really need to get this done for work and feeling slightly out of my depth.

    A massive THANK YOU in advance!!!

    Rich
    Attached Files Attached Files

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Conditional formatting with NOW() function

    Select C5:C10

    In CF, select New Rule>Use a formula, and add the formula =$C5>$L$1. Click Format and format to suit.

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    london, england
    MS-Off Ver
    Excel 2008
    Posts
    2

    Re: Conditional formatting with NOW() function

    Thank you for your post Bob, although it doesn't seem to have worked for me...

    Few problems, firstly, i want each row (A5-I5, A6-I6, etc.) to come red when the cell in Column C of that row is showing a time that has passed. I can select the row and conditionally format it all at once, so this isn't really a problem.

    Howevever, your formula doesn't seem to work for me at all. It might be because I'm using an older version of Excel (and on a Mac) but I go to conditional formatting and add a condition, although I assume this is the same thing as adding a rule.

    I then select 'Formula is' and input your formula, but it doesn't work. I can't really say much more being a newb.

    ***I also forgot to mention that it would be really helpful if I could get it to take the date in the beige bar into account, so that if the time has passed but it is a day later, it will not flash red.

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Conditional formatting with NOW() function

    It probably doesn't work because you have NOW() in the L1, which is date and time (I changed it to test to just time).

    Try changing the formula to

    =(TODAY()+$C5)>$L$1

+ 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