I have a list of domains that my company owns. In the control panel it doesn't show an expiration date but we always choose a two year option on the domain.
What I have figured out is how to calculate how many days are left till renewal. But what I can't figure out is how to apply a 3 color coded conditional formatting on the cells that return the number days till renewal.
Example:
Here is the formula to find the number of days left.
=DATEVALUE("16-July-2016")-TODAY()&""
So I am trying to get numbers from:
0-100 a red color
101-400 a yellow color
401-730 a green color
I keep trying to apply it to the cells with that show the days left, but it won't show any color.
Can anyone help?
With &"" at the end of your formula, the result outputs as TEXT, and Conditional Formatting is trying to evaluate numbers. Set your formula to just =DATEVALUE("16-July-2016")-TODAY() and see if that fixes it.
Maybe three separate rules, applied to whichever column your values (excluding &"") are in (here assumed to be A):
In Excel, Home -> Conditional Formatting.
See this introduction on Conditional Formatting.
Related
Comparing one months table with previous month, and was looking to add conditional formatting where I compare this months incidents per state to last months incidents in each state, and if there is an increase in 10% or more incidents, then change the cell to Red, and if there is reduction in 10% or more then change to green, and if it is between those two numbers then yellow.
Is the only way to add 3 separate rules to each cell individually, and if so how do you do that?
Otherwise is there a quicker way?
Thank you
I don't know if it can be done with a single CF rule but I made three CF rules based on formula, one for each color:
Red color formula: =B3-B9>=0.1*B9
Green Color formula: =B3-B9<=-0.1*B9
Yellow color formula: =AND(B3-B9<0.1*B9;B3-B9>-0.1*B9)
If I change May values, colors update:
thanks in advance for the help.
I'm making a Gantt chart in Excel and am trying to integrate the capability to highlight the work week (WW). The idea is that one can select the WW from a drop down menu and the corresponding columns in the chart are highlighted. I am struggling with the conditional formatting formula to highlight the desired dates.
Here's a screen shot of how the chart is set up
I am able to highlight the column of the cell containing the WW value (e.g. in picture column I is highlighted as it contains "WW42" in cell I3. I would like to be able to highlight the days from Sunday to Saturday of each WW.
Most formulas (that I know) work on the value of the cells rather than their location or index. I have tried simply filling in all the blank cells with the WW value and then hiding the value, but the formatting isn't aesthetically pleasing and it's not efficient.
I have also tried merging the WW cells, but am unable to select all columns of the length of the merged cell, just the first column associated. For example, if I merged I3 to O3, conditional formatting will highlight that merged cell and only column I.
Any suggestions on how to approach this is greatly appreciated!
Attached is a screenshot of my structure with my conditional formating working as required. You'll need to adjust acording to your structure, but I used a formula-based conditional formating, with the rule:
=COUNTA($B$2:B$2)=$A$1 //Where A1 contains the workweek I want to highlight
Entered into cells $B$3:$V$6. Of course, in your case you'd have to change it to something like:
=COUNTA($B$2:B$2)+41-3=$A$1
Since your work weeks start at 42 and you have 3 extra headings you dont want added on your sum (ACTUAL START, ACTUAL DURATION and PERCENT COMPLETE). Also the header for the work week has to be a numeric value, but you can play around this to get what you need. Let me know if you'd need further help.
You do not need to use the third row for your conditional formatting, if row 4 has legal excel dates. The WEEKNUM() formula gives you exactly what you need.
If your Dropdown Menu is in cell B2 and consists of numbers from 1-52 then this should work for your conditional formatting:
=$B$2=WEEKNUM(D$1)
See attached photo.
I have a table with a round 500 rows of data. I want to setup conditional formatting to highlight rows based upon how old a row is (based upon the date cell in that row). The idea is that as an entry get's older, it is entered with a white background, but as it ages, it turns a darker shade of red. We have data taken from 5 separate weeks and plan to add more. Is this POSSIBLE in Excel, or will I need to highlight each week manually?
If you are willing to have one column be highlighted, as opposed to the entire row, this example should help.
Steps to reproduce:
Highlight the column with the dates
In the Conditional Formatting menu (Under the Home Tab on the Ribbon - Office 2013)
New Rule
Format All Cells based on their values.
Choose the darkest color for the Lowest Value
Choose the lightest color for the Highest Value
OK
Note in the example below how the scale of the colors changes based on the range. When the lowest date is 2001, that receives the darkest red, but when a date from 1980 is entered, the dates from 2001 and up are considered to be in the lighter third.
The formatting applies to the entire column, so you can add as many dates as you need.
Here are some very useful tips demonstrating a number of uses for conditional formatting:
Excel formulas for conditional formatting based on another cell value
How to conditionally format dates and time in Excel - built-in rules and formulas
I have three columns of dates. The first contains the start date, the second is a date for when a 2month review is due and the third is the date that review is completed. I then set conditional formatting to turn the dates that are overdue (+5 Days-Red and +15 Days-Yellow) from current date (this part works). Now what I want to do is turn a date that is red or yellow to green if a date is entered in the third column. I can do each individual cell, but there is too much information to individually add a rule to each cell in the column. Highlighting a single cell and adding the rule (Cell Value-equal too-Green) will work but again, there are too many cells in the columns. If I highlight the entire column and try add the rule it will not let me and states that a must only apply it to a single cell.
I then tried to add a rule by formula that if this cell is empty then it will turn it green. This isn’t working. I am not sure what to do…I thought about a macro that would remove conditional formula if the dates matched up or I could even highlight it a different color if it was completed late.
It might be best to explain what I will be using it for…we have people working and they are due performance reviews. I would like to open the spreadsheet and see (visual) which ones are due by color coding their importance. Then changing that warning color to a good color (green) so I know it’s been completed.
Select your entire range (in picure below A1:C9). With selected range apply three CF rules using formulas:
For red: =$B1-5>=TODAY()
For yellow: =$B1-15>=TODAY()
For green: =$C1<>""
and using MOVE UP and MOVE DOWN buttons change the order of CF rules as shown in the picture: green should be first, yellow - second, and red - the last
I have a spreadsheet that has various rows filled in colours while the columns are set to months in text form - 'mmm'
what I want to do is format the sheet so the column that is the current month is shaded - for example - March - to show it is the current month. This will change as we move into April etc etc
I only want Current Month column to be shaded but I need to keep my original 'filled rows' as shown in the below screen example as they highlight other important info.
example sheet:-
Can anyone point me in the correct direction?
All advice very welcomed.
I am using Excel 2011 for Mac.
my hoped for result is something along the lines of the below:
Here's another Conditional Formatting formula that works with your setup. Add this formatting rule from A2 to L22 in your case:
=LOWER(A$1)= LOWER(TEXT(NOW(),"MMM"))
Note that the conditional formatting with override your row colors.
You can do this very easily with conditional formatting.
Suppose all your dates are in column E, you could do a conditional formatting rule such as:
=MONTH($E1) = MONTH(NOW())
Set it to all the data you want highlighted and then just choose the fill color you want.
Hope this helps.
If you insert a second row (it can be hidden) with month number (A2 = 1, B2=2, etc) then you can apply the following conditional format
=month(now())=A$2
and then apply formatting as you like.
You need to make sure that this applies to the entire range.