Conditional formatting Google sheets, if formula not used - google-sheets

I am trying to highlight cells which have been manually entered by using the formulatext() function. However, at the moment this is highlighting all the cells that have a different outcome (from if statements) to the first cell. Can this be changed?
(If curious my exact formula at the moment is =formulatext(E4)<>if(B4= "","",if(left(CN4,1)<>"-",if(or(D4="A",D4="B"),if(AF4<>"","DONE",CN4),if(AF4<>"","DONE",CN4)),if(or(D4="A",D4="B"),if(AF4<>"","DONE","over 48h"),if(AF4<>"","DONE","over 36h")))), the formula inside is working so no need to change it)
https://docs.google.com/spreadsheets/d/1kOJf07eoe_8tYR9a2h1iv2OIBt77xprHiGER3InGg-g/edit?usp=sharing
I hope that link works.

Related

AND doesn't work in Conditional Formatting/ Custom Formula

I am working on a Custom Formula using Google Sheet's conditional formatting feature. When 2 things are TRUE, I want to change background and font color somehow.
I use the following statement to determine it =AND(F5:F10>30% ,$B$1 =True)
This works well and is tested independently, row by row.
Yet, when applied to the table only some columns are highlighted, not all
Below is a formula I am using
try like this:
=($F5>30%)*($B$1=TRUE)

How to copy conditionnal formating of a row to others rows in Google Sheets?

Need some help. I'm currently making a Google Sheets, and I need some conditional formating. I need a row to be formatted with the condition on one of her cells.
For example, I need to formate A2:I2 with the formula =$H$2="No".
This was the easy part. I can do that.
The part that I fail is :
I have like 30 or 40 rows to formate like that, with the condition on the cell of the row. (H15 for A15:I15, H21 for A21:I21...). I tried to select the first row, copy it, and special past the formatting to another row, but Google makes some weird shit. It creates a new rule, but keep the previous cells range and add the currently selected. And the formula stays on the $H$2. I know it's because I put some $ in the name of the cell, but if I don't, it will not formating the entire row. Juste the first cell.
My question is :
How can I properly copy/paste the conditional formatting of the first row to the others one, with the condition correctly on the cell of each row, and keeping the formatting on the entire row?
The meaning of the $ sign is the following:
$H$2: it will lock that cell only,
H$2: it will lock that column,
$H2: it will lock that row (I think this is the one you are looking for),
So you can set the range to be: A2:I
And the formula to be: =$H2="No"

Google sheets formula doesnt work until creating a new sheet

I was using a simple sumifs function in Google Sheets.
All of the cells are working properly in the begining
After a while, some of the sumifs cells starts to be broken, saying "The argument must be a range" with no change in the formula at all. Some other cells remains working.
Formula like e.g.
=sumifs(Transaction!D2:D101,Transaction!B2:B101,"GOOGL",Transaction!H2:H101,"",Transaction!C2:C101,"HSBC")
It is weird when I copy the same literal formula in other empty cell, it starts working again.
Some I create a new sheet and copy all the cells to the new one and it becomes normal again
Anyone tried before?Any possible explanation to this weird situation?

Google Sheets Conditional Formatting Issue

I am making a google sheet to track attendance for a team. I want the row with the name to highlight a specific color when a checkbox is on. I managed to write something that works for the specific row I'm working in, but any time I try to copy it over to other rows the range is just adjusted, so any time any checkbox from a column is on it highlights all the rows. Attached are pictures that show what I want it to do. I just need help figuring out how to copy this to other rows and keeping them all separated.
The code that is in each conditional formatting is this:
=$B2=True
=$C2=True
=or($D2,$E2)=True
https://docs.google.com/spreadsheets/d/1zwkuJOCBPIIoQ7cp0bV5IvidMVwdeIC0dShdjwKMSkE/edit?usp=sharing
I think the issue is with the code itself because when I copy it adds the new range, but the code stays the same.
your formulae are correct. change your range A2:E2 to A2:E - that will solve it

stop Google Sheets from reformatting/structuring cell formulas

I have some formulas in a Google Sheet cell. If I restructure the formula, like by adding new lines or spaces, for legibility, it undoes my changes. Is there a way to stop this? It seems to only happen if the cell had the formula before. If I put the formula in a new cell it doesn't do that.
This is on Enterprise G-Suite so I cannot share an example sheet.
Blank cell:
Add a structured formula:
Now if I edit the structure it does not retain the changes. In the example below, I removed a new line after TRUE.
Before hitting enter:
After hitting enter:
Also, if I add the same formula to a new/different cell, regardless of how I structure it, it'll restructure to match the one from the other cell.
Google Sheets remembers forming even upon deletion/insertion in new cell. the only way how to achieve what you ask is to introduce a change that directly affects the output calculation. if the output calculation remains the same after the change in structure/formatting then your only possible option is to use lowercase for formula. in other words, if you change your IF to if or If or iF it will register it as new change and therefore the formating will be not reverted to the previous existing state.
the less preferable but working solution would be to wrap it in some useless formula. for example:
=QUERY(IF(TRUE, "hello", "bye"))

Resources