Google Sheets Conditional Formatting - highlight row to last filled value - google-sheets

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<>""))))

Related

Google Sheet Conditional Formating - Color Scale Rows of a table depending of the text

I don't find the solution to set a conditional formating with a color scale applied to a range which could be variable from a table to another one.
Could you please help me to find the way to do that as in the sheet "Color Scale with Conditional Formating" where I've colored the fields as I would like with conditional formating rules?
Here after the link to the example:
https://docs.google.com/spreadsheets/d/1UyW12WwG9sJUF0ZhnHGP9adgbY3xWUpj4kM9-ASN2WE/edit#gid=1897261118
Thanks a lot.
Mmm, the exact shape I don't know if it's possible. If you are going to add more rows or columns and want to keep that 3 rows alternated colors, you can benefit from row.
In my example starting in Col V you can use something like this:
=(MOD(ROW(W4),3)=1)*(W4<>"")
And you can add the three rules:
You can add this for the black and white:
=(V3<>"")*(($V3="Cluster 1")+($X3="Total"))

How to negate "isblank" function, with full row conditional formatting

BACKGROUND: I am editing a google forms response sheet. I would like new rows to be red, until they are assigned a status. I have already used the data validation tool to create a list of statuses, and assign color to the entire row using conditional formatting.
I decided the easiest way to do this is to use the timestamp column (L).
something like: IF L=NOTBLANK then COLOR=RED
I've seen another post in which the user asked how to negate the "isblank" function in google sheets. The solution to his question was
=not(isblank(A1))
I tried to use this + my own conditional formatting to color an entire row red, if the L cell in that row was not blank.
My formula looks like this
=$A2=not(isblank(l2))
HOWEVER, this turns everything but the first row red.
What would be the correct syntax? Here's a pic of my current results
I would like new rows to be red, until they are assigned a status.
Please use the following
=isblank($L2)
I tried to use ... to color an entire row red, if the L cell in that row was not blank.
Please use the following
=not(isblank($L2))

Google Sheets Conditional Formatting based on the cell directly NEXT to, across the entire row

I am looking to show color changes based on decreasing values. I want to add conditional formatting to a row (row 9) based on the cell directly prior (B9<C9 I want to be green, C9>D9 I want to be red). I want an entire row to be conditionally formatted to show growth/decline based on the cell directly before. Is this possible? How can I do so? enter image description hereI have the formulas I want to use, but I don't know how to accurate apply them to the entire Row 9 (as of now I'm manually inputting the 3 custom conditions on each cell)
You can use the following Custom Formulas from Range C9:9. Feel free to interchange the background color that will fit your needs.
For Green (Increasing), =C9>OFFSET(C9,0,-1)
For Red (Decreasing), =C9<OFFSET(C9,0,-1)
For Yellow (Same), =C9=OFFSET(C9,0,-1)
OFFSET() lets you shift the rows/columns based on a reference cell.
In this custom formulas, I get the previous cell value referenced to the current cell by setting the offset_columns to -1.
Sample:
Output:

Conditional formatting depending on the extreme values of each row

I'm trying conditionally to format a Google Sheets sheet with 1,000 or more rows. I have to colour it depending of the highest and lowest value of each row.
(Red=highest,green=lowest) I want to make the second example without having to write every row B1:F1,B2:B2, etc, because it is a large document.
In conditional formatting, you need to select B7:F9 and add a custom formula
=rank(B7,$B7:$F7,true)=1
then choose dark green fill colour.
Then add another rule
=rank(B7,$B7:$F7,true)=2
and choose light green fill colour.
Then repeat until you have a rule for each of the five colours.

Conditional format alternate between 2 colours for groups of rows based on value change

I have a spreadsheet that is in Google Sheets which has a column that I want to format conditionally. I want to format it, such that groups of rows which all hold the same value are dark grey, while they next group of rows of all the same value are light grey. For example, I want the sheet to look something like this:
The numbers will not neccesarily be grouped in order, so I can't just use =mod(a1,2)=1 for the conditional format. I also would like it to update so that no matter how the other columns are filtered, this column remains such that every time the value in the next row is different, it and its duplicates are all a new color, mainly for visualization, to see which data is grouped together.
If I'm to use the formulae =isodd(countunique(a$2:a2)) and =isodd(countunique(a$2:a2)) and then apply some filter, then I get the following, which doesn't alternate the colors based on what is shown.
Any help would be great. Thanks.
Try
=isodd(countunique(a$1:a1))
for the light grey and
=iseven(countunique(a$1:a1))
for the dark grey
EDIT
The same question was asked in Excel recently and I realised it would be better just to count the changes of value like this:
=ISEVEN(SUMPRODUCT(--(A$1:A1<>A$2:A2)))
This does highlight correctly if a duplicate appears in more than one continuous sequence:
whereas the original formula would have highlighted incorrectly:
It doesn't solve the filtering question though.

Resources