+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting "stop if true"

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Conditional formatting "stop if true"

    Hi folks.

    I am trying to conditionally format some cells and use the "stop if true" function but also keep any previously applied conditional formatting if possible, but i can't seem to do it.

    I have a spreadsheet where Column A has dates in (we'll say the date a letter is due to be sent to somebody) and if those dates are over a certain time in the past (based on the current date/time) they highlight a certain colour. The more days we move on, the darker the colour gets to show it being more and more 'overdue' (hence I have several conditional format rules). Then I have a conditional format that strikes through the cell in column A once a date is input in the "completed" cell opposite in column B.

    Once a date has been input in the completed cell in Column B and the strike-through applied to the cell in Column A, the cell in column A gets darker and darker each day as it is still applying the rules i have. I want it to stop applying the darker shades once the completed date is input, but i want it to keep the particular shade that had been applied up to the completed date being input (so i can keep track of how many items are overdue).

    Is there a way this can be done?

    Many thanks for any help given.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Conditional formatting "stop if true"

    Of the top of my head, Im going to say no. Your rules are probably testing for x, y, z etc days past due, so no matter how you change that, it is probably still going to do that test.

    Maybe upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-29-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Conditional formatting "stop if true"

    Hi FDibbins, thanks for replying.

    I've attached an edited sheet of what i'm working with. In the 'Letters' sheet, i have some conditional formatting that show some
    letters are currently more overdue than others. Even after i enter a date in column H, the formatting in G takes place the more days
    pass by. I want it to stop the formatting once i put a date in column H but to keep the colours of any 'overdue' letters in G so i
    can see if we are getting them out on time or not (otherwise they all just end up showing as dark red once we are over 7 days from
    the date in column G.

    Hope that makes sense.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Conditional formatting "stop if true"

    See if modifying/adding the following three conditional formatting rules helps.
    For light gray fill with black text and strike through*: =AND($H9<>"",$H9-$G9<=0)
    For pink fill with red text and strike through: =AND(H9<>"",H9-G9>0,H9-G9<=7)
    For red fill with red text and strike through: =AND(H9<>"",H9-G9>7)
    *This rule will require a 'stop if true' otherwise the text will be red for cells with dates less than 7 days old.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional formatting by testing for "True" or "False"
    By Excel_vba in forum Excel General
    Replies: 2
    Last Post: 02-21-2014, 11:26 PM
  2. Conditional Formatting and "TRUE" problem....
    By first.officer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2013, 12:48 PM
  3. [SOLVED] Conditional Formatting a cell from a "true/false" VLOOKUP
    By Solidstan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-12-2013, 10:54 AM
  4. Replies: 2
    Last Post: 08-17-2012, 05:10 AM
  5. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  6. Replies: 7
    Last Post: 05-13-2006, 05:02 PM
  7. [SOLVED] excel should "paste special" a "conditional formatting"
    By lozturk21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2005, 10:05 AM
  8. [SOLVED] IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    By Souris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2005, 01:05 AM

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