I have a list of dates in a column starting with c8 thru C100. I applied the following conditional format and it will no work: =TODAY()-C8>30. I tried both the second and the last rule changing the color to red. Using the last rule all cells turn red except dates that = false such as dates less than 30 days.. I would not want to change the color of blank cells. Any suggestions will be appreciated.
I'm not clear what you are trying to do, using that formula on its own will turn the dates red if they are more than 30 days in the past, is that what you want? If you have other rules applied first they will take precedence.
If you don't want to format blank cells change to this:
=AND(C8<>"",TODAY()-C8>30)
This should do it:
=AND( NOT(ISBLANK(C8)), TODAY()-C8 > 30)
Related
Need help with Conditional formatting Rule
In the example below, I only want to highlight the specific cell that passes the rule - E1 > 100% So, only E3 needs to be highlighted in Red. With the current rule, it is highlighting every cell from E4 thru E13. I only want E3 to highlight because E3 passed the criteria. And similarly for other matching E cells.
I have modified the formula per "UrDearBoy" and this is how it looks now and it works!
You need to amend rule to ignore text values so change your formula to:
=AND(ISNUMBER(E1),E1>100%)
FYI - Conditional formatting can be processor heavy so I would consider limiting the Applies To range to the relevant range rather running this check on all ~1MIL rows
I was able to set up a rule with these properties by using "Conditional Formatting > Highlight Cell Rules > Greater Than" and then set the value to 1 as in the below screenshots.
If you want to go with a simple formula based solution, you can use:
=N(E1)>100%
The N() function converts text to 0 and numbers to their numerical value.
I would like to fill the cells individually from C to L based on the 7 lists on the right. Unfortunately this isn't working too well.
Not every cell is getting filled and others are filled wrong/double.
I select the cells for the conditional formatting for the deep red list based on this:
=OR(ISNUMBER(SEARCH($M$2:$M$20; C2)))
I'd guess that here's a simple error in thought with the "C2"?. Thanks in advance!
Edit:
Link to the file
https://drive.google.com/open?id=1mtGdSlDCMdR1qXVU07Z-hGFyvtq21Hpb
The conditional format rule you are using applies to the range $C:$L. The first cell in this range is C1; substitute C2 in your formula with C1 and it should work as desired.
I have 2 rows with dates and I want to mark both dates if the difference between them is greater than 14 days.
Example:
D E
14.03.2018 15.03.2018
14.03.2018 21.04.2018
14.03.2018 28.03.2018
14.03.2018 21.03.2018
Formula: = (E1-D1)>14
Format: infill yellow.
Applying it to the whole ROW E.
Problem is, that when its True then the whole row gets turned yellow, not the Cell in E.
Any ideas?
Probably, you have applied the conditional formatting in one cell and then copied format in entire column. Please select the entire column first then apply the formatting as described here.
I am getting following
In the Conditional Formatting Rules Manager change Applies to into:
=$E:$E
I have come here seeking the help of the smarter programers. I am attempting to create a date controlled document for work. In short, I created formulas for contact dates. All linked to the Today() function for my computer date. Anyone contacted < 30 days appears green, >30 but <45 days its yellow and >45 days its red. I also included some other functions like x= black (remove from list) and OL = onlist so appear blue. I used to conditional formatting options. I will show my formulas as they run from B6 to B144 (=$B$6:$B$144) in the spreadsheet and their order.
Cell value= X
This is the black format.
Cell value= OL
This is the blue format.
Formula=AND(B6 <=TODAY()-30, B6 >TODAY()-45)
This is the yellow format.
Formula=B6<=Today()-45
This is the red format
Formula=B6 > Today()-30
This is the green format.
The problem is I am trying to get cells without a date to show as blank and not red. For some reason the blank cells appear red. I have tried to use the
Formula=ISBLANK(B6) to format as no fill cell. The cell is not empty but contains the above formulas. Surely there is a code to make cells without texts but with formulas appear blank. Excel shows as clear but when I upload to Google documents, the empty cells appear red. Any help is appreciated.
You can probably use
=""
as your condition for a 'blank' cell that contains a formula. Alternatively you could change your condition for red to be
AND(B6<=TODAY()-45, B6>0)
That might help
You need to click "Stop If True" for the rule for blank cells, then move that rule to the top of the list.
I am trying to create a conditional formatting for a range of dates. I want anything longer than 30 days away to format green, anything within 8-30 days to be yellow and anything less than 8 days to be red.
I have tried the following formula without any luck:
=IF(H56<=Today()+7,"1",IF(AND(H56<Today()+30,H56>=Today()+8,"2","")))
Any help would be greatly appreciated. Thanks.
OP has indicated that:
=IF(H56<TODAY()+8,1,IF(AND(H56<TODAY()+30,H56>TODAY()+7),2,3))
met his requirements.
This is a formula for use in connection with CF but not itself the formula for a CF rule. The formula would be applied to a spreadsheet in a 'normal' way - to return 1, 2 or 3 - and then those values (only two are really necessary) applied in CF with a rule such as Format only cells that contain (ie not applying Use a formula to determine which cells to format - though that is a viable alternative where two short formulae could be applied instead of the formula above in the spreadsheet).