+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting - formula=text

  1. #1
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Conditional formatting - formula=text

    Hey all,

    I am trying to set some conditional formatting, but for some reason on of the conditions is not working and I was wondering if anybody know how -

    Please Login or Register  to view this content.
    Basically, the cell should go Red if the date in it is blank, is over 7 days ago, is in the future or contains the text 'File does not exist'. The first three conditions work fine but the when the cell contains the text 'File does not exist' no conditional formatting is applied at all. I have copied the text from the workbook into the conditional format to ensure that it is correct.

    Thanks.
    Last edited by duckboy1981; 09-16-2009 at 11:36 AM.
    Ducks are better crispy...

  2. #2
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Re: Conditional formatting - formula=text

    Hey,

    Thanks for the reply. That works in exactly the same way as before, where by the first 3 conditions work but the final one ($D22="File does not exist") does not.

    Thanks.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional formatting - formula=text

    Yes, I realized that after and deleted the post,

    Try:

    =IF($D22="File does not exist",TRUE,OR($D22="",TODAY()-$D22>=7,$D22>TODAY()))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Re: Conditional formatting - formula=text

    Superb, thanks for that.

+ 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