+ Reply to Thread
Results 1 to 3 of 3

Formula or conditional formatting for dates

  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    11

    Formula or conditional formatting for dates

    Good Evening/Morning

    I am lookking for a formula or condition formatting for a date i want to put in todays date and then it must de highlighted in yellow for 2 months after which te formatting must disapear all my dates are in one collum each in there own cell i type in the new date in the same cell in other words just replacing the old date but then the new date must be the one that is highligted in yellow

    04-Oct-12
    05-Oct-12
    05-Dec-12
    07-Jun-12
    22-Feb-12
    12-Jan-12
    29-Nov-12
    06-Oct-12
    20-Dec-12
    03-Dec-12
    07-Jan-13
    04-Sep-12
    15-May-12
    31-Jul-12
    21-Sep-12
    22-Feb-13
    27-Feb-12
    10-Oct-12
    04-Feb-13
    12-Dec-12
    04-Nov-12
    24-Oct-12
    02-Nov-12
    10-Jan-13
    06-Dec-12

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula or conditional formatting for dates

    In Conditional Formatting rules use this formula.

    =$a1<DATE(YEAR(TODAY()),MONTH(TODAY())+2,DAY(TODAY()))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-01-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Formula or conditional formatting for dates

    the formula you gave me now hidhlights alla the date whatb i mean is if i put in todays date it must only highlight todays date for the following 2 months not all the dates

+ 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