+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting

  1. #1
    Registered User
    Join Date
    12-04-2015
    Location
    Edinburgh, Scotland
    MS-Off Ver
    2011 for mac
    Posts
    24

    Conditional formatting

    I am looking for a little help with a formula in conditional formatting. I have attached a screen shot of what I am trying to achieve, but basically I want a cell to highlight amber if the date in the previous cell is = or > 1 month old. The formatting should revert back to normal once a date has been input.

    Thanks in advance
    Attached Images Attached Images

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Conditional formatting

    change the CF-function to

    =IF(B5="",TODAY(),B5)-A5>30

    and then the it should turn amber whenever there are more then 30 days between 2 dates

    But that might not bee what you need. If you want a more fitting solution please upload the example sheet instead of a screenshot so we can see the current formula in CF and adjust that to your needs.
    Now it is mostly guesswork what you need exactly.

  3. #3
    Registered User
    Join Date
    12-04-2015
    Location
    Edinburgh, Scotland
    MS-Off Ver
    2011 for mac
    Posts
    24

    Re: Conditional formatting

    Roel,
    Thank you for your reply. I have attached as an excel spreadsheet. The formula you sent does change the cell amber if they are over 30 days but they remain at amber once a date has been input (I want it to revert back to white). Also if there is no date in column A ( like in A6) no formatting should occur in Column B
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Conditional formatting

    How about
    =AND(A3<>"",B3="",TODAY()-A3>30)

  5. #5
    Registered User
    Join Date
    12-04-2015
    Location
    Edinburgh, Scotland
    MS-Off Ver
    2011 for mac
    Posts
    24

    Re: Conditional formatting

    Fluff,
    That seems to work, thank you so much

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Conditional formatting

    You're welcome & thanks for the feedback

+ 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. [SOLVED] Conditional Formatting based on another cells Conditional Formatting
    By chriskay in forum Excel General
    Replies: 4
    Last Post: 08-22-2019, 05:33 AM
  2. [SOLVED] Override conditional formatting (in general, without changing the conditional formatting)
    By Stormin' in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2017, 07:15 AM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 PM

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