How can I select an input row in google sheets - google-sheets

Okay so my goal is to make a auto generating sign templete.
I have a "Data" sheet with four columns. I then have a second "Print" sheet that has my templete. I want to be able to enter the the row number or the "name" which is the first column on the data sheet into a cell outside of the Tempelete. Then have each column in whatever row was selected auto fill into the templete. Right now I have it just manually selecting the cell for each column in the first input row. What would be the easiest way to get this outcome? enter image description here
enter image description here

place row number in print!H1
then use:
=INDIRECT("Data!A"&H1)

Related

Can I add a floating column to a Sheets query?

I have a Sheet like this [minimal] example. The "Data" tab is a running list of points different groups have scored. This is constantly updating. The "Results" tabs gets a list of all the unique group names from the Data tab and add them as a row in Column A. So, if an entry for "Group5" is entered on the Data tab, a row with that name will appear on the Results tab. Similar for the columns on the results tab. Each unique action on the Data tab becomes a column on the results tab.
I would like to add a "Total" column to the last column on the Results tab. The problem is, if a new "action" category appeared on the data tab, it would take up the last column and the Total column would need to shift over one. Is there a way to get the "Total" column to float so that it is always on the end without conflicting with the query formula?
In B1 cell put below formula-
={TRANSPOSE(UNIQUE(QUERY(Data!C2:C, "SELECT C where C is not null",0))),"Total"}
In B2 cell put below formula then drag down and right as needed.
=IF(OR($A2="",B$1=""),"",IF(B$1="Total",SUMIFS(Data!$D$2:$D,Data!$B$2:$B,$A2),
SUMIFS(Data!$D$2:$D,Data!$C$2:$C,B$1,Data!$B$2:$B,$A2)))

want to display the values according to cell name

here am facing an issue that in my original file i want to display values from another sheet according to cell name ( not by cell reference) for if the table "code" is in column A then display the names under "code" in the next sheet, display the same if i change "code" from column A to column C or wherever. pls help me to display values according to cell name.
here is the sample sheet.. pls take a look
https://docs.google.com/spreadsheets/d/1xAUmvmaZPvfJwCHD_esrshLccgKM3VmP1CI46mMoRB8/edit#gid=1437285308
I changed it in the sheet directly with the formula:
=QUERY('Sheet A'!A2:Z,"SELECT "&SUBSTITUTE(ADDRESS(1,MATCH("code",'Sheet A'!A1:Z1,0),4),1,""))

How to highlight cells contains specific text in Google sheet

I have on my sheet many columns, so I want to highlight the cells on column A that contains a specific value. eg. I have on column A 200 rows, I want to highlight the CELLS that contains "2019" value. This is it and please keep in mind that I want to highlight not to change color.
Unfortunately, this type of action can't be done in Google Sheets other than manually holding CTRL key and selecting cells of interest.

Paste comma separated content into different cells in google sheets

Say I have the string "1,2,3,4". Is it possible to paste that string into Google Spreadsheets in such a way that each of the comma-separated values goes into a different cell to the right of the selected one?
This is what the spreadsheet would look like after pasting.
Since the file is a CSV. Ensure it is saved with the .CSV extension and upload the file to google sheets.
You also have the option of opening it with Microsoft excel and then pasting the cell formatted text into the google sheet.
Also You can paste the comma separated values into the google sheet and then click the paste icon that appears below the cell and select the 'Split text into columns' Option
Enter into the spreadsheet
=SPLIT("1,2,3,4", ",")
No. If you try inserting any formula by overwriting the selected cell the data the formula needs will be overwritten, hence not be available to the formula.
You could use say:
=split(A1,",")
to obtain the results you want to the right of the cell with data in, but this would have to be placed to the right of the cell with data, not in it.
#Treyten's A would also achieve the result you seek except that it would not be to the right of the chosen cell (etc) but in the chosen cell (and to its right etc, assuming the usual LTR).
Similarly with #tks.tman's A. The contents spill out to the right but they do not start in a "cell to the right of the selected one" but in the selected one.
First select the cell on of your action and click Data
1st step
Now, select 'split text to column', it will name it a number
2nd step
now, again goto data and select split text to column open it will transfer every comma separated element into individual columns
3rd step

find corresponding cell depending on other cell

I'd like to get the value of a cell depending on the value entered in another cell. I have different sheets in my workbook :
Sheet 1: One with a list of people and adresses
Sheet 2: One with a list of orders from these people
In Sheet 2, when I choose a client's name from the dropdown list (created via data-validation list with sheet 1), I'd like his address to display automatically in another cell (same row, different column).
Is there a way to do that ?
Thanks in advance !
A simple vlookup will do this. Assuming you have the dropdown in A2 of Sheet2, put this in Sheet2 in the column you want the address in. If you have a dropdown in each row, drag the formula down:
=iferror(vlookup(A2,Sheet1!A2:B4,2,false))

Resources