+ Reply to Thread
Results 1 to 4 of 4

conditional formatting with IF/AND function

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Louisiana
    MS-Off Ver
    Excel 2000
    Posts
    2

    conditional formatting with IF/AND function

    I'm working on a project and need to add conditional formatting for a range of cells. My goal was to have a formula that would first, determine if the cell had text and second, if text is present then determine if the date in a particular cell plus 7 is less than or equal to the current date. Lastly, I need the full row of that cell to be highlighted. I put together a few formulas but keep getting errors from excel and at this point I'm starting to wonder if it's not possible.

    The last formula I worked up was:

    =IF(istext(A1),if(and(d1:7<TODAY)),""

    I realize there are a ton of inaccuracies within the formula though it was a very rough work in progress.


    Can someone please help me with this or tell me if it is even possible?
    Attached Files Attached Files
    Last edited by mishka02; 03-09-2012 at 01:35 AM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: conditional formatting with IF/AND function

    try using this formula

    =AND(ISTEXT($A1),$K2+7<TODAY())
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    Louisiana
    MS-Off Ver
    Excel 2000
    Posts
    2

    Re: conditional formatting with IF/AND function

    It worked! Thank you so much I probably could have saved myself a few hours if I had just posted sooner.

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: conditional formatting with IF/AND function

    No problem, fell free to post anytime you are stuck, there are lots of people who enjoy helping out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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