+ Reply to Thread
Results 1 to 19 of 19

Specialized conditional formatting

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Specialized conditional formatting

    Hey there Excel World!

    I am having a problem with formatting my Due Dates column to fit my parameters.

    I need to make the font color change as follows:

    7 days Before the due date listed to be Yellow font.

    3 days Before the due date listed to be Red font.

    ---

    The pre-existing options for what I need (Con. For. -> Highlight cell rules -> A date occuring) allow only for formatting to "Today, Tomorrow, In the last 7 days, last week, etc." with its drop down menu.

    I have reviewed the other thread about excel due date formatting but those formulas provided are not working for me to accomplish what I need....

    Please help!

    - Davorah Stetson
    Co-Founder of FashionGun.com & Curator of the FashionGun Style House.
    Freelance Admin Professional and Mixologist Extraordinaire

    "If you practice anything for 10,000+ hours, consecutively or not, you are considered an expert." - Gina Stark

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Specialized conditional formatting

    Not sure what you need. Is this what you need?

    Condition 1
    In the appropriate cell say cell A1
    =A1=today()+7 YELLOW FONT

    Condition 2
    =A1=today()+3 RED FONT
    Click on star (*) below if this helps

  3. #3
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    Unfortunately those formulas arent working for me... o.O
    Last edited by Richard Buttrey; 08-08-2012 at 03:44 PM. Reason: REMOVE IMAGE FILE

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Specialized conditional formatting

    Condition 1
    In the appropriate cell say cell A1
    =(A1=today()+7) YELLOW FONT

    Condition 2
    =(A1=today()+3) RED FONT

    Note the brackets after TODAY
    and the fact there are no quotes in the conditions
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Specialized conditional formatting

    Your formula does not match mine.

    - Delete the quotes (") around the formula
    - the Today formula is =TODAY() not TODAY. The parenthases matter

    Conditional formatting is based on a TRUE FALSE result. Your formula does not result in either TRUE OR FALSE. In this case, you want to compare the current cell with a future date. That's why I used A1=today()+7

  6. #6
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    Ok,

    here is my adjustments attached...

    PROBLEM EXCEL.jpg

    Heres a better description of what Im trying to accomplished:

    I need the 8/8/12 (since it is Today) + 3 days before 8/8/12 to be red (8/5/12 - 8/8/12)

    I need the 8/5/12 + 7 days before 8/5/12 to be yellow (7/29/12 - 8/4/12)

    And then I need this to work for all the Due Dates in the column... which are different numbers as you can see in the image
    Last edited by Davorah; 08-08-2012 at 04:05 PM. Reason: Making post easier to read

  7. #7
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Specialized conditional formatting

    I would use:
    Condition 1 (RED)
    Please Login or Register  to view this content.
    Condition 1 (YELLOW)
    Please Login or Register  to view this content.
    and make sure you click Stop if True for Condition 1.

  8. #8
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Specialized conditional formatting

    Your attachment isn't valid

  9. #9
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    Sorry about that.

    I edited my post and reloaded the image so it can be viewed.

  10. #10
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Specialized conditional formatting

    We can't do anything with a JPG. Do you have an EXcel file?

  11. #11
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    That fixed it... however, I have a new problem... lol

    Some of my 8/8/12's are red and some are still black...

    print screen attached

    PROBLEM EXCEL.jpg

  12. #12
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Specialized conditional formatting

    With your clarification, try
    Condition 1 (RED, with Stop If True)
    Please Login or Register  to view this content.
    and Condition 2 (YELLOW)
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    Im not allowed to share the doc because of sensitive info. I can make a second file with just the dates to practice with/share though... o.O

  14. #14
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Specialized conditional formatting

    Why is 8/15 yealolow in G33 and red in G34? I thought you were looking BACK in time.

  15. #15
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    The task I am attempting to perform is to notify me when I am 3 days and 7 days from the due dates listed... the due dates are NOT all 8/8/12... They range from 7/2012 to 9/2012.....

    Per the formulas I have been testing out, it seems that the formulas are hit/miss... Im not sure of what Im doing wrong but its a bit frustrating... lol!

    Is the "today" formula correct for what I am trying to accomplish?

  16. #16
    Registered User
    Join Date
    08-08-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Specialized conditional formatting

    Woot! I fixed it! Thanks everyone for your help! :D

  17. #17
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Specialized conditional formatting

    With your latest clarification, try
    Condition 1 (RED, with Stop If True)
    Please Login or Register  to view this content.
    and Condition 2 (YELLOW)
    Please Login or Register  to view this content.

  18. #18
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Specialized conditional formatting

    Davorah:

    The problem you have is TODAY is volatile. =TODAY() result will not be the same tomorrow. I think you may need a different approach using a macro

    A macro can be written that runs daily and can "lock" in the date. Without seeing your data, we are only guessing what you really want. I understand you data is sensitive but both mine and bentlybob address your original question

    Perhaps you could rephrase you needs

  19. #19
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Specialized conditional formatting

    I think the volatility is what is wanted. That is, at a glance, you can tell what's coming due within 7 and then within 3 days of today. Or at least that's my understanding. So if today is the 8th, anything with a due date of 8/9, 8/10, or 8/11 should show in red. Tomorrow, it will be 8/10, 8/11, and 8/12.

+ 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