+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Cell < Today()

  1. #1
    Registered User
    Join Date
    09-21-2005
    Posts
    2

    Question Conditional Formatting Cell < Today()

    I always have issues with conditional formatting when I want to use a formula and pointing at the value of the same cell.

    Here is the problem:

    Due Date is in A1

    if(Due Date < today()) do formatting


    I tried using
    Cell Value is | less than | today() but when I enter that it just puts " " around today as if it is text.

    When I use Formula Is, I'm not sure how to reference back to the cell in question.


    This format needs to be copied down indefinitely in the due date column. So I'm trying to write a formula where I can select the column then go to conditional formatting and write the formula.


    I know this SHOULD be easy but like I said the conditional formatting interface is strange to me (compared to using worksheet formulas or vba)

  2. #2
    Registered User
    Join Date
    09-21-2005
    Posts
    2

    i'm dumb

    I'm dumb here we go:

    =IF(A1<TODAY(),TRUE,FALSE)

    You have to make sure to specify true or false it is not automatically returned.. i.e.
    if(a1<today()) is not going to work.

  3. #3
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Sagan:

    Try this in your CF:

    In cell A1, click Format>Conditional Formatting...

    Condition 1:

    Formula Is: "<Today()" (no quotes).

    Set desired formatting.

    You don't need to reference the cell you are in if the value of that cell is what you are basing your condition on.

    Also works:

    Cell value Is: Less Than: ="today()" (entered exactly as shown)

    HTH

    Bruce
    Last edited by swatsp0p; 09-21-2005 at 10:16 AM.
    Bruce
    The older I get, the better I used to be.
    USA

  4. #4
    Ian
    Guest

    Re: Conditional Formatting Cell < Today()

    Cell Value is | less than | =TODAY()

    --
    Ian
    --
    "sagan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I always have issues with conditional formatting when I want to use a
    > formula and pointing at the value of the same cell.
    >
    > Here is the problem:
    >
    > Due Date is in A1
    >
    > if(Due Date < today()) do formatting
    >
    >
    > I tried using
    > Cell Value is | less than | today() but when I enter that it just puts
    > " " around today as if it is text.
    >
    > When I use Formula Is, I'm not sure how to reference back to the cell
    > in question.
    >
    >
    > This format needs to be copied down indefinitely in the due date
    > column. So I'm trying to write a formula where I can select the
    > column then go to conditional formatting and write the formula.
    >
    >
    > I know this SHOULD be easy but like I said the conditional formatting
    > interface is strange to me (compared to using worksheet formulas or
    > vba)
    >
    >
    > --
    > sagan
    > ------------------------------------------------------------------------
    > sagan's Profile:
    > http://www.excelforum.com/member.php...o&userid=27438
    > View this thread: http://www.excelforum.com/showthread...hreadid=469507
    >




+ 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