Conditional Formatting based on sum of the 6 cells below - google-sheets

I was Hoping to be fever along before i had to ask for help but.
using Google sheets i am trying to have a range of cells(a row specificity) change there background colour based on the Sum of the 6 cells directly below it in the
I know I am happy using the basic conditional forming and i have a formula witch will return true if the Sum = what i am looking for
=IF(SUM(D6:D11)=6,true,FALSE())
and this works if i copy and past it along but if i try to put it in the Custom formula is box i get told
There was a problem while
Cannot save the rule with invalid formula.
so i take it that i am not using the box right
any help would be greatly appreciated

Conditional formatting is ... conditional. There is not normally any need for IF(). Your formula should work as:
=Sum(D6:D11)=6
but over what range and what cells to format (other then D5) I can't help you, if required, without further details.
Please though do read the [google-spreadsheet] tag wiki.

Related

How can I apply conditional formatting to a list of values returned by IMPORTRANGE() function based on if the value occurs in another column

I am using Google Sheets and have been able to import a range of values from another sheet into my desired sheet that I am working from. I want to highlight the values in the imported range based on whether they occur in a column of values present within my sheet. I've looked up multiple resources online, but have yet to find a solution. Any advice is greatly appreciated.
For anyone that runs into a similar issue, I found a solution. I applied a custom formula as a conditional formatting rule. Here is the formula I used. =NOT(ISNA(VLOOKUP(A1,$I:$I,1,FALSE))). For an in-depth explanation, consider this link: https://www.automateexcel.com/formulas/if-isna-vlookup-2/

Formula parse error with AVERAGEIFS in Google Sheets

I want to calculate averages in a column but only on selected rows, depending on specific values in another column. I see that I should probably use AVERAGEIF or AVERAGEIFS, but somehow it does not work, not even if I copy and paste the example from Google's help. I did experience the same in multiple browsers and with both versions of the function. What can be the problem?
Do you need to adjust the formula for your locale?
=AVERAGEIFS(A1:A10;B1:B10;">20")

How to set filter conditions as a cell reference in google sheets?

I'm trying to use the filter function with a reference to a cell in another sheet as i have to copy the entire spreadsheet and be able to change the range of the filter.
I'm using cell and address together and hope it will return the text for use in the the formula. So far it look like this:
=filter(Master!A2:E;CELLE(ADRESSE(Settings!B1))=Settings!B2)
I keep getting an error displaying “FILTER has mismatched range sizes"
When I'm not using Celle function but writing Master!D2:D instead there is no error.
I have made a dummy spreadsheet so you can see what I mean.
https://docs.google.com/spreadsheets/d/1KZhB1m0WzPlnGdzjJYZqQpsMsjoOpqQhlATmHs5dUm4/edit?usp=sharing
Any help is much appreciated. Thanks.
Remove the space in Settings B1 and then try
=filter(Master!A2:E; indirect(Settings!B1)=Settings!B2)
Thank you so much.
Indirect was what I was looking for.
It seems to work like a charm!!
/ Jesper

CONCATENATE in ArrayFormula's IF statement in Google Sheets not

Make Google Spreadsheet Formula Repeat Infinitely helped me to expand my formula indefinitely and other StackExchange results helped me get to here:
=ARRAYFORMULA(IF((AF2:AF="")," ","L"&ROW(F2:F)&":AD"&ROW(F2:F)))
However, when I tell "L"&ROW(F2:F)&":AD"&ROW(F2:F) to CONCATENATE, every row gives a results as if it was CONCATENATE(L2:AD2).
I tried =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE("L"&ROW(F2:F)&":AD"&ROW(F2:F)))) and =ARRAYFORMULA(IF((AF2:AF="")," ",CONCATENATE(INDIRECT("L"&ROW(F2:F)&":AD"&ROW(F2:F))))) but neither are working.
I am trying to get each row to CONCATENATE(L2:AD2) then CONCATENATE(L3:AD3) then L4:AD4 and so on.
Any help is most appreciated.
To make more easy to explain and understand by using an example, assume that the source values are in the range A2:C3
Instead of using
ARRAYFORMULA(CONCATENATE(A2:C3))
use
ARRAYFORMULA({A2:A3&B2:B3&C2:C3})

conditional formatting for newly added rows

Ok, I really have no business working in spreadsheets or any data entry program for that matter. So basically what I am saying is I have no idea how to use much of the formula and script/language features. So any help would be AWESOME!
Heres my issue...
I have two Columns, One contains Conditional formatting (Cell Color) for for 3 variables respectfully. The Other Column is a DropDrown with a list.
I'm hoping to avoid explaining to the person(s) here how to keep applying rules as new Rows are added to the end of the sheet.
Is there an a script someone could dig up for me that (I'm guessing onEdit) will automatically apply my Conditional Formatting and DropDowns the new Rows?
Thank you so much!
I'm not sure this would ever receive another answer so, for the moment considering only I need to to just compare b3-g3>color h3 b4-g4> color h41:
In New Google Sheets, apply your formula to H2:-
=arrayformula(if(G2:G=0,"",if(B2:B=G2:G,"Completed",IF(B2:B>G2:G,"Back Ordered",if(B2:B<G2:G,"Over Shipped")))))
and rules like these in Conditional formatting...:
and I think as new rows are added and data populated in A:G the formulae (both if and Conditional) extend automatically, with no fill where the cell in Column G is 0 or empty.

Resources