+ Reply to Thread
Results 1 to 7 of 7

Conditional Formating - how to highlight a row if a date has exceeded todays date?

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    Huddersfield, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Conditional Formating - how to highlight a row if a date has exceeded todays date?

    Can someone please help!

    Im trying to use conditional formating to highlight rows on a sheet if a date in colunm E is earlier than todays date.

    And then if any date is entred into colunm H the row is un-highlighted?
    Last edited by snoopy1461; 01-17-2011 at 10:37 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    The CF formula for the first row (row2) would be:

    =AND($H2="", $E2>0, $E2<TODAY())
    Last edited by JBeaucaire; 01-14-2011 at 12:05 PM. Reason: added a missing paren.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-30-2010
    Location
    Huddersfield, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    Thanks for that,

    But it is bring up a error message, 'Your formula is missing a parenthesis--) or ('

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    So I added on at the end... try that.

  5. #5
    Registered User
    Join Date
    12-30-2010
    Location
    Huddersfield, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    I did try that before but didnt work and came up with 'The formula you type contains an error'. Is there anything else that i can do?

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    Sorry, guess I was asleep at the wheel. CF formulas are TRUE/FALSE constructs, the IF at the beginning is not needed.

    =AND($H2="", $E2>0, $E2<TODAY())

  7. #7
    Registered User
    Join Date
    12-30-2010
    Location
    Huddersfield, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Conditional Formating - how to highlight a row if a date has exceeded todays date

    Thanks a lot, that's just what i was looking for.

    Thanks again for your help

+ 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