Google Sheets: Transpose with Arrayformula skipping first row - google-sheets

I am wondering why the following formula skips the first row:
=arrayformula(if(row(A:A)=1;"Bestellte Gesamtmenge";transpose(arrayformula(BestelltabelleImport!I11:IS11))))
Here is an example sheet: https://docs.google.com/spreadsheets/d/1vltrf6686hsER3B9g4Kwsm2Hk7kz73aD9yG9BX3QPB8/edit#gid=1278617356
Look at the tab "Complete" which shows row 1 with "320" and "Eier".
However, the tab "Missing first row" which applies above formula does not show this row of results.
The only difference between the formulas on those two tabs is the if statement combined with the row() function.
Why does cause the difference?

well you were making the IF condition to replace first value BestelltabelleImport!I11 with the header. you could just go with the following:
={"Bestellte Gesamtmenge";transpose(arrayformula(BestelltabelleImport!I11:IS11))}

Related

Refer to itself in ARRAYFORMULA

I am just wondering whether it is possible to achieve what I need to achieve, but using an ARRAYFORMULA.
I have a simple setup where in column B I show the value, which is present in the last previous filled in row in column A
Here is an example.
So, the questios is: is it possible to achieve the same, but with ARRAYFORMULA(s), so that in case a new row is incerted, one does not need to drag formula to fill in the new row, but the formula would be added automatically. All my attempts ended up with the circular reference problem.
This is tradtionally done with a vlookup of row numbers into a filtered array of the values. It would look like this in row 4 of your sample sheet:
=ARRAYFORMULA(VLOOKUP(ROW(A4:A),FILTER({ROW(A4:A),A4:A},A4:A<>""),2,TRUE))

Google Sheets - How to concatenate values from different rows and columns if the cells meet certain criteria

I am trying to create a formula that concatenates cell values if the ticked box is TRUE Please see attached image click here to see the image
What I am trying to do is to concatenate in one string columns B and C from every row if the checkbox in column A is selected, and have them separated by a ",". You can in cell G2 an example of the final result I am trying to achieve.
You can find the google sheet in this link https://docs.google.com/spreadsheets/d/1hwm4Q89qj3ko2vJ4OASWmgz4VQr_uUaP7E7AmVdl8Ks/edit?usp=sharing
Thanks in advance.
try:
=ArrayFormula(TEXTJOIN(",",1,IF(A4:A,B4:C,)))
You can try this sheet formula first.
=IF(A4="","",IF(A4=TRUE,TEXTJOIN(",",True,B4,C4),""))
This formula has nested IF's just for additional checker to check if the first column has a value and would return blank just for it to be dynamic. You can drag the formula down to adjust the cells.
Sheet sample:

Formula disappearing when I exit the Google Sheets app?

I have a value in G3 and a value in H3. In I3 I have the following formula:
=ARRAYFORMULA(G2:G&"."&H2:H)
(Note that the formula and the problem below is in multiple rows below)
to show the values in G3 and H3 together as a decimalised value. I used the array formula as I needed a way to insert new rows and maintain the formula in the I column as I want new information to be at the top. All was working fine but I've entered the spreadsheet this morning to find the correct values in the I column but without the formula there (except in row 2 which is blank and used as a divider between headers and info).
Any ideas as to why this has happened, please?

Highlighting Duplicate Rows in Google Sheets

I'm trying to write a script in Google Sheets that finds duplicates between 2 columns and highlights the entire row to indicate a duplicate. Here is the trick:
I have several columns in my sheet but am only comparing 2 of them for duplicates. Lets say column A and B.
If a value in column A is found to be a duplicate of column B, it should highlight the entire row (or at least columns A, B, and C).
The duplicate in column B will also need to be highlighted but only after 3 duplicates in in column A have been found. In other words, it will be highlighted for every 3 duplicates that are found.
Currently, I have a script that highlights duplicates but it only highlights the specific cell when I'd like multiple cells in the column to be highlighted. Additionally, duplicates for one of the columns are highlighted only after 3 duplicates are found.
Any help with this will be greatly appreciated. Thanks!
The first part is easy:
Custom formula:
=$A2=$B2
Apply to Range:
A2:D13
Enter in A2 (Assumes a header row). Change D to last column.
The second part is a little hard to understand, but this should give you an idea. It checks column C for three duplicates and highlights the cell. Add to C2:
Custom formula:
=countif($C2:$C,$C2)>2
Apply to:
C2:C13

google sheet conditional formatting for grading

On my google sheet for its form, I have the answers in Row 2.
There are 109 columns in which I need to check if the descending rows of each column match the contents of Row 2 of that column. On top of that, I have to have conditional formatting for the cells that DO NOT match the contents of Row 2 in their respective column.
Is there a way that I don't have to add a formula to each any every column?
You can do this with conditional formatting - for the "apply to range" section (pretending your data starts in column A and ends in D, although in reality you will put whatever the last column is) enter in
A2:D
then for the rule, choose custom formula and enter in this exact formula:
=if(eq(indirect(address(row(),COLUMN(),4)),indirect(ADDRESS(2,column(),2)))=TRUE,FALSE,TRUE)
This will dynamically highlight all of the answers that do not match the value in row 2

Resources