+ Reply to Thread
Results 1 to 4 of 4

Help - Conditional Formatting

  1. #1
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Help - Conditional Formatting

    Condition 1 - If cell K is not blank:

    1) cell A should show how many days diference from expiration date (cell B) to today
    2) If between 95 - 91 color of Cell A should be green
    3) If 90th day - color red
    4) If cell P (dispatch Date) is not empty ie any date is shown the above 3 condition should not be satisfied

    Condition 2 - If cell K is blank:

    1) cell A should show how many days diference from expiration date (cell B) to today
    2) If between 76 - 80 color of Cell A should be Blue
    3) If 75th day - color Yellow
    4) If cell P (dispatch Date) is not empty i.e. any date is shown the above 3 condition should not be satisfied


    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Help - Conditional Formatting

    in A2 put
    =B3-TODAY()
    as that is the number of days - and seems to be the same calculation for all conditions


    Use
    GREEN
    =AND(A3>=91,A3<=95,P3="",K3<>"")

    YELLOW
    =AND(A3=75,P3="",K3="")

    BLUE
    =AND(A3>=76,A3<=80,P3="",K3="")

    RED
    =AND(A3=90,P3="",K3<>"")
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Help - Conditional Formatting

    Thank you... It worked....

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Help - Conditional Formatting

    excellent - i did not test thoroughly - you may want to do that for all possible combinations

    if my assistance has helped, and only if you wish to , there is a reputation icon * on the left hand side - you can add to my reputation here
    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved

+ 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: 1
    Last Post: 09-20-2013, 06:23 PM
  2. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  3. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  4. Macro for formatting fonts and cell colours - not Conditional Formatting
    By Kayaness in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2011, 03:46 AM
  5. Replies: 2
    Last Post: 11-02-2007, 12:03 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