=A1:A>10<100
I am trying to change the background color for any number in column A that is meeting these conditions, but nothing is triggering.
can you try this formula out:
=(A1>10)*(A1<100)
Related
First condition: Give a strike-through to the list when checkbox is True.
Second condition: Highlight every 3 rows for readability.
The problem is that I want the first condition to give only strikes, but it also change the background color. I don't want to change the background color.
Answer:
Google Sheets doesn't allow you prioritise conditional formatting statements, but you can achieve this by modifying and adding a third rule.
More Information:
At the moment, you have two conditional formatting rules:
The one which colours every three rows, set on the rows of the sheet:
=AND(MOD(ROW() ,6)>0,MOD(ROW() ,6)<4)
And the one which sets the text in column B to strikeout if the respective checkbox in column A is checked, set on column B:
=A1:A=TRUE
The problem is that the strikeout rule will not ignore the other conditional rules, and so will not honour the first rule which sets the row colour.
Fix:
Firstly, you can keep the formula which colours the rows:
=AND(MOD(ROW() ,6)>0,MOD(ROW() ,6)<4)
Making sure that the Formatting style is only for the row colour.
You will then need to have two additional rules which keep both the formatting of the colour, as well as the strikeout:
The first, will affect rows 1-3, 7-9, 13-15 etc. For this, your formatting style should be the correct colour for rows 1-3, as well as the strikeout:
=AND(AND(MOD(ROW(),6)>0,MOD(ROW(),6)<4),A1:A32=TRUE)
And the second will affect rows 4-6, 10-12, 16-18 etc. For this, your formatting style should be the correct colour for rows 4-6, as well as the strikeout:
=AND(A1:A32=TRUE,OR(MOD(ROW(),6)=0,MOD(ROW(),6)>4))
Showcase:
I have a spreadsheet with a whole bunch of data, where parts of it are queried to present in more readable ways. The problem is that the initial data also has background colors set, which are not taken over by the query result. Is there an easy way to do this?
Unfortunately this is not possible, because formulas do not transfer background colors. the only way is to use script, or set up some conditional formatting rule.
the easiest way would be to use conditional formatting to re-create the background color. custom formula would be:
=D1="test1"
applied to range D1:D
I'm trying to get a format: I want the cel in column A be orange when the date is past and the task is nog checkt done. This is working, but he formats my hole range. A second formatting with a Cel is blank doesn't work. If there is no task i don't want it to be orange..
The problem comes from the $ in your formula
It formats all cells based on row 4.
Additionally, if you want to implement the condition that the date should not be blank, you need to add into your AND statement ISBLANK(D4)=FALSE
Change your formula to
=AND(D4<TODAY(),E4=FALSE,ISBLANK(D4)=FALSE)
I have a list of times in a table that I want to apply some conditional formatting to. I just want them to turn different colours based on whether they're later or earlier than the time in the previous cell. I'm having trouble figuring out the appropriate rule though.
More specifically I'm having trouble thinking of a formula for the rule that I can apply to the whole range of times given in the table. What I need is basically the condition =[current cell]>[current cell-1] and vice versa but don't know how to write this in a formula that I can apply as a rule for the whole range.
How to accomplish this?
Custom Formula:
=B1<A1
Apply to:
B1:Z1
or
B:Z
Color:Green
Add another conditional formula for Red.
See explanation here
I have a sheet where I would like to turn a row a color based on the value of two cells. I already have conditional formatting based on one cell of the cells I want to use for the two cell formatting.
I am using =AND($J:$J="Cancel",$L:$L="Yes") for the two cell formatting but it doesnt seem to work. Not sure if the first one =$J:$J="Cancel" is negating the formatting of the other or if if my formula is just bad.
Any advice would be appreciated.
if the trick is that you want the whole row to be colored that way, then all you need to modify is the "range" to apply it too, so you enter something like the start column and then just give it a row number as the second half of the range, without the column argument: A1:10001
That exact formula you listed =AND($J:$J="Cancel",$L:$L="Yes") worked for me when using the "custom formula" option: