I want to do conditional formatting to entire row based on following criteria in due date-
Exceeded due date - RED
One day left to exceed due date - Yellow
More than one day left for due date – GREEN
I want to do conditional formatting to entire row based on following criteria in due date-
Exceeded due date - RED
One day left to exceed due date - Yellow
More than one day left for due date – GREEN
Last edited by Sanjibghosh; 06-05-2020 at 07:08 AM.
Administrative Note:
We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you want to achieve with the CF.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
His thread title conveys exactly what he wants to achieve. Conditional Formatting based around a certain criteria.
The criteria is If the cell value (due date) has been exceeded (that is it is less than todays date) then he wants the cell to be red.
If the cell value is within a day of the due date (that is <= todays date +1) he wants it amber
Otherwise (cell value > todays date) he wants the cell to be green.
How does this break rule#1?
Snanjibghosh - thank you for updating the title. That’s better.
So you will need three rules:
=TODAY()>K2
=K2-TODAY()=1
=K2-TODAY()>1
What should happen if today is the due date?
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
I don't mean to step on any toes or break any forum rules, just want to contribute: the formulas need to have $K instead of just K.
=TODAY()>$K2
=$K2-TODAY()=1
=$K2-TODAY()>1
Attachment 681592
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks