+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting of dates using a traffic light system

Hybrid View

Taffia Conditional Formatting of... 03-24-2015, 12:20 PM
DBY Re: Conditional Formatting of... 03-24-2015, 03:54 PM
Taffia Re: Conditional Formatting of... 03-25-2015, 10:58 AM
yaseensallam Re: Conditional Formatting of... 12-10-2019, 01:44 AM
  1. #1
    Registered User
    Join Date
    03-24-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    Conditional Formatting of dates using a traffic light system

    Hi,

    I have been given a register by a colleague containing a list of various plant owned by the company. As all the equipment needs to be calibrated yearly I wanted to use a traffic light system in conditional formatting. So if the item was due for calibration within 7 days it would be red. 30 days amber and anything over that would be green.

    So far though I have come up with the following which sadly is not returning the results I had hoped for;

    =IF(L6<>"",TODAY()-L6<7,TODAY()-K6=7) - Red
    =IF(L6<>"",TODAY()-L6=30,TODAY()-K6=30) - Amber
    =L6<>"" - Green

    Column K = Last Calibration date
    Column L = Calibration Due
    Column T = Results (Red/Amber/Green)

    Any help in showing me were I have gone wrong or a solution to my problem would be greatly appreciated

    Regards
    Taff

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Conditional Formatting of dates using a traffic light system

    Hello Taff

    I'm not sure if the 'Last Calibration Date' has any bearing on what you are trying to do, if you want to check the 'Calibration Due Date' with today's date. If you want a traffic light system for this then try:

    =IF(L2="","",IF(L2-TODAY()<8,3,IF(L2-TODAY()<31,2,0)))
    Here the due date is in cell L2 and the formula in M2. Set the traffic lights as in the attached image.

    Hope this helps.
    DBY
    Attached Images Attached Images

  3. #3
    Registered User
    Join Date
    03-24-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    2

    Re: Conditional Formatting of dates using a traffic light system

    Hello DBY,

    Thanks for the help you've saved me hours of trail and error on my part. It now works exactly how I wanted it to.

    Kind Regards

  4. #4
    Registered User
    Join Date
    05-20-2018
    Location
    Qatar
    MS-Off Ver
    2010
    Posts
    1

    Re: Conditional Formatting of dates using a traffic light system

    Thanks All a lot it is clear

+ 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. Replies: 5
    Last Post: 02-06-2015, 03:19 AM
  2. conditional formatting a due date with a traffic light system
    By rocket01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-08-2015, 05:11 PM
  3. [SOLVED] How to use traffic light conditional formatting icon set with dates.
    By rbac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2013, 08:19 PM
  4. Conditional Formatting - Traffic light dates
    By zx561 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-19-2012, 02:51 PM
  5. Replies: 4
    Last Post: 11-08-2007, 11:53 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