I have tried numerous formula combinations in Google Sheets Conditional Formatting to highlight when a "No" answer is entered into cells B3, B5, B7, B8, B9 and B11 when the answer in cell B2 = "Yes".
I have tried =AND(B2="Yes",OR(B3="No",B5="No",B7="No",B8="No",B9="No",B11="No"))
I have also tried =AND(OR(B3="No",B5="No",B7="No",B8="No",B9="No",B11="No"),B2="Yes")
The formula is applied to B3, B5, B7, B8, B9 and B11.
Would appreciate help.
In conditional formatting set the range to B3:B11 and use as a custom formula:
=($B$2="Yes")*($B3="No")*(ISNA(MATCH(ROW($B3), {4, 6, 10}, 0)))
And see if that works?
References:
To Learn more about conditional formatting, see: this link.
Related
I have tried the following as the Conditional Formatting Custom Formula:
Where B2 is the current cell:
COUNT(FIND("$B$1",FormulaText(B2)))>=1
the formula in B2 is A2*$B$1 in B3 is A3*$B$1 etc. - but some cells do not reference B1
If I paste this into a cell/range in column C:
=COUNT(FIND("$B$1",FormulaText(B2)))>=1
then it correctly returns true or false depending on the formula in the adjoining cell.
However when applied as a conditional format it is not changing the format of cell B2
I also want this formula to apply to a range of cells - but it seems to apply the identical formula COUNT(FIND("$B$1",FormulaText(B2)))>=1 to each cell and not change B2 to B3, B4, B5 etc.
Thank you you to #kirkg - this is resolved simply by applying the format to a range in both columns A&B:
Here is his sample sheet... docs.google.com/spreadsheets/d/… – kirkg13
I have some problem to build a dynamic AVERAGE in Google Sheets.
What I have here is this configuration.
I have a Cell A1, B2 and C3 that have another formula (like IF) that can return 2 different values: Numerical or N/A.
Then I have Cell D4 which keep the AVERAGE of cell A1, B2, C3.
The problem is that even if one of the above cells (A1, B2, C3) has N/A even the AVERAGE results returns N/A.
Are there any possibilities to make the AVERAGE working by ignoring N/A or any kind of texts and working only with Numbers?
This is the formula I have at the moment: =AVERAGE(A1, B2, C3).
you will need to wrap it into IFERROR like:
=AVERAGE(IFERROR(A1), IFERROR(B2), IFERROR(C3))
I have a problem with set conditional formatting depends to sum 2 conditions
Spreadsheet column headers A:A Animal, B:B Name C:C Information
I need to highlight A2 if there will be in cells
A2 Dog C2 Barking
Basically, it's just a kind of
If A1="Dog" AND B1="Barking" THEN use highlight
Below link to example sheet
https://docs.google.com/spreadsheets/d/1E0MiHpNFbIae-zQCTNppqoxrqiD1-v1bWyoLMvq7rYQ/edit?usp=sharing
EDIT:
Is there a possibility to add OR condition?
So total conditions will be something like this:
=AND($A1="Dog"; C1="Barking" OR C1="Scratching")
for row color:
=AND($A1="Dog"; $C1="Barking")
for cell color:
=AND($A1="Dog"; C1="Barking")
Struggling like hell with this one but bet it's so simple!
Can do it in Libre but not in Google :-(
What I want to do is:
I have a range of cells with numbers in, ranges B8 to F20 and another set of cells in range B2 to F2
If a number in cell range B8 to F20 is same as one in range B2 to F2 I want to highlight the cell in range B8 to F20
Any help appreciated, I'm pulling my hair out :-)
Try custom formula:
Set custom formula in cell B2
=countif($B8:$F20,B2)
Apply to range B2:F2
Try selecting cells B8:F20 and click Format > Conditional formatting > Custom formula is:
=arrayformula(sum(n(value(B8)=arrayformula(value({$B$2:$F$2})))))
I want to fill cells B2:D148 with =VLOOKUP(Sheet8!B2, Descriptions!A3:B, 2, FALSE), replacing B2 in the formula with the current cell. If I use that formula for B2, then series-fill to C2, I get =VLOOKUP(Sheet8!C2, Descriptions!B3:C, 2, FALSE). C2 updates successfully, but it also increments the lookup range, which should be static.
If I manually fix C2 and D2, then series-fill down to Row 3, it's closer, but the A3 reference still becomes A4, which doesn't work.
Is there any way to series-fill one reference in a formula but not the other?
Alternately, is there any way to reference "this" cell, something like =VLOOKUP(Sheet8!$THIS_CELL, Descriptions!A3:B, 2, FALSE)? If so, I could just copy that formula to the entire range.
Thanks!
Why don't you wrap your VLOOKUP in an ARRAYFORMULA() ?
In B2, try:
=ARRAYFORMULA(VLOOKUP(Sheet8!B2:D148, Descriptions!A3:B, 2, FALSE)
NOTE: you will have to make sure there are no othere values or formulas present in the range D2:D148