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,""))
Related
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)
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
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))
Is there a way to reference value of a cell with a link, so you just have to update the label, and the link will follow?
Like so:
=HYPERLINK(CONCAT("https://github.com/github-user/",_LINK_LABEL_),"github-repo")
Where _LINK_LABEL_ is "github-repo" gets added to the link, and updating the label will update the link also.
You can add your link labels in a column (for example this one will be in cell A1)
A1's value is:
github-repo
Then put your formula in cell B1:
=HYPERLINK("https://github.com/github-user/"&A1,A1)
I'm trying to reference the data from another sheet, but I'd like to be able to dynamically specify the Sheet name via a cell within this sheet.
Let's say cell A1 has the text "Sheet 1"
Instead of having my formula say:
=TRANSPOSE('Sheet 1'!F2:F121)
I need to find a way to insert the data from cell A1:
=TRANSPOSE('reference text from A1'!F2:F121)
Is there a way of doing this? I'm working in Google Sheets.
Does this formula work as you want:
=TRANSPOSE(INDIRECT(A1&"!F2:F121"))