I would like to change the color of my cells. The problem is the following:
When inserting "Low", "Medium", "High", "Very High" row by row in G3-I3, I want the cells in row L3-O3 to change color depending on the entry. The other table references row 4 and the last one references row 5.
Thanks for your help!
So far I have formatted each cell individually. I wonder if there is a more automated variant. Maybe you can help me with this. I have attached my dummy dataset.
https://docs.google.com/spreadsheets/d/1ebyeq8gNTpv1b_4Ly8GKN1Q2yNyIxpdeDdWOf4afOvs/edit?usp=sharing
Related
I have a timetable style sheet that has values filled in rows on particular dates. I would like to be able to automatically have the row background colour change up to the last filled value, so you can easily scan down the sheet visually to see longest time since etc.
Image below to illustrate what I mean: the dark backgrounds I have created manually, this is what I would like to auto fill using conditional formatting:
Something like this would do:
=AND(A1 = "", COUNTA(B1:1) > 0)
1st condition to color only empty cells, 2nd to color if there's something further.
Try the following under Custom formula is
=COLUMN(A1)<INDEX(MAX(COLUMN(A1:1)*(--(A1:1<>""))))
Apologies in advance if I don't explain this very well, I have only an amateur's interest in formulas.
I have a Google Sheet where I need to fill in a value, in this case, "1" in one column in the range C-J for each row.
I'd like to know the custom formula so that if I haven't filled in a "1" in any row C-J, then the C-J range of that row is highlighted red (but not the whole row)
I've attached screenshots of what it looks like currently and then an example of what I would like it to look like.
Current:
Desired:
use this custom formula:
=SUM($C4:J4)=0
or you can use:
=COUNTIFS($C4,"",$D4,"",$E4,"",$F4,"",$G4,"",$H4,"",$I4,"",$J4,"")
Use Custom Formula
=countif($C2:$J2,1)=0
I am using Google Sheets and trying to write a custom formatting rule that seems like it should be simple. I am trying to figure out how to conditionally format all the cells in a column INCLUDING AND ABOVE (but not below) the cell that meets my condition.
I've found a lot of things that will format the entire column, but that's not what I'm looking for.
The image below is a basic example that I manually colored in to do what I want.
It's for my budget spreadsheet, where each row is an entry from a particular date. I have an "Agreement" column that is empty except when I enter the date that I reconciled the budget. I want it to color that cell and all the empty cells above it green, signifying at a glance: "everything up to this point is ok/has been checked over". Then as time goes by, and I enter another date several rows below, I want it to extend the colored shading up to there.
I've been searching, but it is hard to articulate this; if I say "until this cell" I get results for "shade cell until text is entered"; any mention of "above" and "below" generally relates to the values in the cells; I've found some things about Indirect but just for a single cell above, not for all cells above the current cell.
Wondering if this is even possible...
Google Sheets example
If you create a conditional formatting rule for column A using a Custom Formula you can use this formula:
=COUNTIF(ROW(),"<="&LARGE(ArrayFormula(IF(ISBLANK(A1:A100),"TRUE",ROW(A1:A100))),1))
The larger the ranges you use, the slower it will be however.
Is there a way to use conditional formatting to change the whole color of a row besides a cell that you want another color?
For example: I want the whole row that says "scheduled" to be purple except two cells, one that states "not Submitted" and another that says "pending". I would like those two cells to be different colors.
Just wondering if there is some magical formula that will let me color the whole row minus cells that contain "...". and let me format those rows that contain "..." like I had before with the "text says exactly" rule.
You can set up three custom formulae, and arrange them so that the "not Submitted" and "pending" columns are evaluated first. For example:
=$B1="not Submitted" applied to range B:B
=$C1="pending" applied to range C:C
=$A1="scheduled" applied to range 1:1000 with purple background
See it working in this example sheet: https://goo.gl/bFJ8bu
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: