+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting Help

  1. #1
    Registered User
    Join Date
    11-04-2018
    Location
    Cardiff
    MS-Off Ver
    2016
    Posts
    3

    Conditional Formatting Help

    Hello everyone, I hope everyone is well!

    please bear with me I dont have the greatest technical knowledge of Excel so you're probably gonna really have to dumb any advice down for me haha!

    I'm looking for a conditional formatting formula that will change a cell's colour after a certain amount of time. here's a scenario that will hopefully explain what i'm looking for:

    I work in a complaints department where complaints have to be resolved within a week.

    I log the complaint today on excel and it will be filled in Green. it will stay green for 2 days. When the complaint is Between 3 and 5 days old i want the cell to turn yellow and then from 6 days old onwards i want the cell to turn red because i really need to get the complaint resolved

    the next day i log another complaint and want the same cycle of changes.


    So far I've managed to find a formula which does the changes but can anyone confirm if it will work for my scenario?

    Capture.PNG

    when i entered another date, for example, 07/11/2018, to test it the box went yellow which suggests to me that the formula wants different dates to be entered to change colour. the date of the entry isnt going to change, just the age of the entry...

    i'm hoping this is just because it wasnt the 07/11/2018 when i typed it though...

    i hope this makes sense and someone can help me

    thanks
    x
    Last edited by lynzwales; 11-04-2018 at 03:26 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Conditional Formatting Help

    I would say No.

    If the date in Column A is Not more than two days before today then turn green.
    =$A1+2>=TODAY()


    If the date in column A is not more than 5 days before today then turn yellow
    =$A1+5>=TODAY()

    If the date in column A is more than 5 days before today then turn Red
    =AND($A1<>"",TODAY()-$A1>5)
    Last edited by mehmetcik; 11-04-2018 at 03:51 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-04-2018
    Location
    Cardiff
    MS-Off Ver
    2016
    Posts
    3

    Re: Conditional Formatting Help

    Thanks for your reply

    I'm not sure I follow I'm afraid

    The date in column A will be "Today". the date per entry wont change but when the entry is 2 days old i want the cell colour to change from green to yellow then after 5 days old change from yellow to red

    Thanks in advance
    Last edited by lynzwales; 11-04-2018 at 03:53 PM.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Conditional Formatting Help

    When you put the date in column A it will go in as =today()

    If you do not use copy paste value to fix that date then your data will be useless. You dates will always show todays date.

    You should use a simple macro to enter the date in column A as soon as you click on a cell in column A. The Macro would then make sure it is not a formula.


    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Conditional Formatting Help

    Right Click On Your Sheet Name At the Bottom Of Excel and Select View Code
    Paste this code in the module that opens and close it.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-04-2018
    Location
    Cardiff
    MS-Off Ver
    2016
    Posts
    3

    Re: Conditional Formatting Help

    Thanks for your help with this, i really appreciate it.

    i'll certainly look in to the Macro thing, that sounds useful

    I've attached the sheet i've been working on (theres no data on it except for todays date)
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Conditional Formatting Help

    Look at the file on my previous post.

    If you click immediately below the last entry in column A, the Macro inserts the date.

    Manually change the date to see the background colour change.

+ 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] 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
  2. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  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