+ Reply to Thread
Results 1 to 5 of 5

Conditional Format Formula Based on % Complete & Time Remaining from Today to Month End

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Conditional Format Formula Based on % Complete & Time Remaining from Today to Month End

    Good morning,

    I am attempting to apply a conditional formatting formula that will change the cell color based on the percentage complete and the number of days remaining. For example assuming 100% is due complete by 6/30/2022, if there are more than 20 days remaining until 6/30/2022 and the item is greater than or equal to 30% complete that would be green, if less than 20 days and less than 60% complete = yellow, etc. there is a general key listed in my example. I attempted some AND formulas using TODAY() but was unable to find success. I successfully applied the formula =B5>=$I$1 to get the cell green, but the adding =TODAY()>$B$4-20 in an AND formula did not result in the expected result.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Conditional Format Formula Based on % Complete & Time Remaining from Today to Month En

    =AND($B5>=$I$1,TODAY()>=($B$4-20))

    Your formula of today > B4-20... B4 - 20 days is 6/10... so your formula is FALSE as a result.
    Formatting only applies when the result is TRUE
    -If you think you are done, Start over - ELeGault

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Conditional Format Formula Based on % Complete & Time Remaining from Today to Month En

    I made some formulas for June conditional formatting as shown below and attached.
    Attached Images Attached Images
    Attached Files Attached Files
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Conditional Format Formula Based on % Complete & Time Remaining from Today to Month En

    See where Dosydos updated your formula to get the difference of today and B4...
    =AND(B5>=30%,$B$4-TODAY()>=20)

    Instead of the way you had it written
    =AND($B5>=$I$1,TODAY()>=($B$4-20))

    HOWEVER, it is not wrong the way you have it written for what you intend... if the end of the month is the end of the cycle and you want to say that today is within the last 20 days of the month... you have done that! but today is just not within that window so you will not see that happen.

    Meanwhile neither of these formulas restrict the view to within the scope...

    If we are saying that we want to highlight when it is 0 - 20 days, there is nothing that prevents it from entering a negative thresh, which means everything in the June box will highlight once it is within that 20 days as well as -1000 days later!

    Just things to consider, no saying how far this scope is meant to live so may be moot

  5. #5
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Conditional Format Formula Based on % Complete & Time Remaining from Today to Month En

    Quote Originally Posted by ELeGault View Post
    If we are saying that we want to highlight when it is 0 - 20 days, there is nothing that prevents it from entering a negative thresh, which means everything in the June box will highlight once it is within that 20 days as well as -1000 days later!
    Technically if they show 91% or higher completion then they wont highlight at all even if -1000 days because of the AND() function. I agree though there certainly seems to be gaps between coverage analysis.

+ 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] Formula for MONTH(TODAY())=CELL for conditional formatting
    By mikehk in forum Excel General
    Replies: 7
    Last Post: 06-23-2021, 05:56 AM
  2. [SOLVED] Gantt Chart almost complete. Days complete and days remaining Conditional formatting I th
    By markDuffy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-04-2019, 06:20 AM
  3. [SOLVED] want to get the remaining days of the current month based on that respective month's one d
    By bala04msw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2017, 04:47 AM
  4. Formula for IF/THEN EOM and/or 15th of Month based on Today's Date
    By pierzyna in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-12-2013, 03:09 PM
  5. Conditional format between dates based on today()
    By StevieNix in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-27-2012, 06:06 PM
  6. [SOLVED] how do you conditional format based upon today's date?
    By valoriegill in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2006, 07:50 PM
  7. Conditional Format (month and year) = Today()
    By Scott in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2005, 12:55 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