+ Reply to Thread
Results 1 to 2 of 2

3 Color Conditional Formatting Based on Various Expiration Dates

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2007
    Posts
    1

    3 Color Conditional Formatting Based on Various Expiration Dates

    I have attempted to work out this problem by researching various sites without locating any thread with a similar problem. Request assistance with Conditional Formatting of a column
    listing various Expiration Dates. Conditional formatting necessary to highlight time prior to expriation at 90, 60, and 30 days.

    Yellow Between 90 - 61 days of expiration
    Amber Between 60 - 31 days of expiration
    Red Between 30 - 0 days of expiraton

    The closest I have come is getting a couple cells to respond to this conditional formula but they were base on the original cell "S3" in this case.
    The formula was static I could not get it to dynamically reflect each seperate row accordingly. I do not think the Format Painter works when using
    the Conditional Formatting tools. I tried

    Conditional Formatting using a Formula

    =IF(S3="","",(IF(TODAY()<S3-90,TRUE,FALSE))) Yellow
    =IF(S3="","",(IF(TODAY()<S3-60,TRUE,FALSE))) Amber
    =IF(S3="","",(IF(TODAY()<S3-30,TRUE,FALSE))) Red

    Conditional formatting using Cell Value

    Cell Value between =TODAY()-61 and =TODAY()-90
    Cell Value between =TODAY()-31 and =TODAY()-60
    Cell Value between =TODAY()-30 and =TODAY()-1

    No joy with either attempt.

    I have attached a sample of my spreadsheet and my attempts at figuring this out on my own.

    Support and any assistance will be truly appreciated. Thank you for your time!
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: 3 Color Conditional Formatting Based on Various Expiration Dates

    hi sandmankuwait, welcome to the forum. isnt your Column R correct? if today is 18th Jan 2013, then:
    20 oct 12 - 18 nov 12 = Yellow
    19 nov 12 - 18 dec 12 = Orange
    19 dec 12 - 18 jan 13 = Red
    only R3 qualifies. but if you want to do it with formulas & ensure no Conditional formatting is done when date is blank, try:
    =AND(R3>=TODAY()-90,R3<=TODAY()-61,R3<>"")
    =AND(R3>=TODAY()-60,R3<=TODAY()-31,R3<>"")
    =AND(R3>=TODAY()-30,R3<=TODAY(),R3<>"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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