Transpose google spread sheet row values to column in different sheet - google-sheets

I have a google spreadsheet that has Sheet1 (tab 1) column values I want to be row value in a column in sheet (tab 2)
So I wrote formula ={'Sheet1'!A2:A35} and it does give me column values from sheet value but the outputs to multiple row (vertically)
is it possible that the row values of column A in sheet 1 to become column values of a single row in sheet 2.
the reason why I want is because in sheet 2 they act has Header to columns.

=TRANSPOSE({SHEET1!A2:A35})
Did the job what I was after.

You actually include the answer in your own title. Use this:
=TRANSPOSE(Sheet1!A2:A35)

Related

Finding values based off Row and Columns input in Google Sheets

I have a very big correlation matrix that is very hard to navigate.
I want to make two dropdown menus to select two items (X and Y) and need a formula in google sheets to output the corresponding correlation.
I am aware of the method of doing this by putting the row and column number, as described here but I want to put in the values in the row and column, not their number.
I would appreciate the help.
thank you
You just need to use INDEX() with two MATCH() formulas.
The first MATCH() gets the row number for the label you selected
The second MATCH() gets the column number for the second label
For example, if I have my drop-downs in B1 and B2 and the data in a Data! sheet:
=INDEX(Data!A1:ZZ, MATCH(B2,Data!A:A,false), MATCH(B1,Data!1:1,false))

How can I use arrayformula so I got the cell value that used last time?

I have a table of content on google sheet where word list on column B and image name on column C. On column C image name is not given for every cell. Now I need to use ARRAYFORMULA on Cell D1 where it will give the output (Word name and Image Name) on Column D if Row of Column A is not empty. If you look at the attached screenshot, for some Word there is no image name given on column C. In this case I need the image name that used last time.
For example: On Row 17 for WORD 4 there is no image name given. So, in this case the image name will be Image 2 from cell C12 that used previously for WORD 3. I tried it in many different ways but never able to do it with ARRAYFORMULA. The only solution I am using right now is using formula for every row which is not a good solution. I need to do it with ARRAYFORMULA. I don't want to do it with google script.
➡ Spreadsheet link (Please check Tab 1)
➡ Please check the Screenshot
I have added a sheet ("Erik Help") with the following formula in D1:
=ArrayFormula({"Header";IF(A2:A="",,B2:B&" : "&VLOOKUP(ROW(A2:A),FILTER({ROW(A2:A),C2:C},C2:C<>""),2,TRUE))})
This one array formula creates a header and then fills the entire column with results.
You can change "Header" to whatever you like.
IF(A2:A="",, just leaves D2:D null if nothing is in that row of Col A.
Otherwise, whatever is in B2:B is concatenated with a space-colon-space and then a VLOOKUP of all rows within a FILTERed virtual array that contains only rows and Col-C data where Col C is not blank. Because TRUE is chosen as the final parameter, all rows will "look backward" to the last row where Col C did contain data and return that data as the final piece to be concatenated.
=if(isnumber(SEARCH("WORD",B2,1)),join(" : ",B2, indirect(ARRAYFORMULA(address(IFNA(match(2,1/($C$2:$C2<>"")))+1,COLUMN(C2))))),"")
past this formula in D1 cell and drag it ...

An if formula for multiple cells in another sheet

I have a google sheet that has 2 sheets, Sheet 1 with info in cells A and B.
I need to add a little formula in sheet 2, to check if any of the cells in sheet 1 column A (numbers) is bigger than the Numbers in column B cells, and then if so, say Yes else NO.
So IF in sheet1 any of the cells in Column A is bigger than in Column B, Then...."YES"
This checks on a row by row basis. If you want to know if ANY row in column A is bigger than in column B, that would be a bit different.
=if(Sheet1!A1>Sheet1!B1,"Yes","No")

Google Sheets Coding by column NAME not letter/number?

Google Sheets :
Is it possible to code a cell in a sheet to pull in information from another cell in another sheet, inside the same workbook, by the title of the column that I give it, instead of using something like :
=Sheet1!A2
so that it looks for the Column Header Text to bring in the info no matter where it is in Sheet 1?
I have csv files that vary with some columns, the most important columns, so they won't always be at the same LetterNumber location.
OFFSET in conjunction with MATCH might suit.
=offset(Sheet1!A1,1,match("name1",Sheet1!1:1,0)-1)
A formula such as above should return a value from Row2 (1 lower/higher number than the row of the reference cell A1) of Sheet1 from the column defined by the match function. name1 (a column label) might be anywhere in the first row of Sheet1.

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