+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting INDIRECT between dates

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Question Conditional Formatting INDIRECT between dates

    Hi,

    I need to be able to highlight a cell if another cell is between two dates using conditional formatting. So far I have a formula looking like this. Can anyone help me with this, as the below formula currently errors, as I thought it would.

    =INDIRECT("S"&ROW()=IF(AND(S5>=DATE(2013,2,1),S5<=DATE(2013,2,28))


    Thanks!
    Last edited by Will_iam; 11-07-2012 at 10:44 AM.

  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: Conditional Formatting INDIRECT between dates

    This in cONDITIONAL format rules? Adjust your range as you want.

    =AND($S5>=DATE(2013,2,1),$S5<=DATE(2013,2,28))
    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
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Conditional Formatting INDIRECT between dates

    Do you know what, I tried to make that too complicated and already have something very similar. But thank you for pointing it out. Sometimes you just need that extra pair of eyes to notice something staring you in the face.

  4. #4
    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: Conditional Formatting INDIRECT between dates

    You are welcome.

    Happens to all of us.

    Thanks for the reb*

+ 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