+ Reply to Thread
Results 1 to 5 of 5

Setting Expiry Date

  1. #1
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253

    Question Setting Expiry Date

    Hi,

    I want to set a future date in a cell and if today() is over this stated date, the cell will turn red.

    Example

    A1 = 11/2/10

    Today() = 10/2/10

    I try to set condition as If Cell value A1 >= Today(), shade cell as red.

    I couldn't get this right. What else do I need to tweak to make it work?

    Regards,
    Lewis

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Setting Expiry Date

    Hi Lewis,

    try Conditional format with Formula is

    =A1>=TODAY()

    hth

  3. #3
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253

    Re: Setting Expiry Date

    Hmm...weird, it works only if I do

    =A1<=TODAY()

    Why is that so?

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Setting Expiry Date

    sorry, my bad. hit the wrong key. But the essence was to use Formula Is rather than Cell Value Is

    So if Today is greater than or equal to A1, or A1 is less than or equal to Today

    =A1<=TODAY()

    or

    =today()>=A1

  5. #5
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253

    Re: Setting Expiry Date

    Oh okok, thanks :-)

+ 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