QUERY Function Google Sheet - google-sheets

I need to pull data from Cell into another Cell if Cell in A = to Cell in A from another sheet. I added link into google spreadsheet. Let me know if you can help me.https://docs.google.com/spreadsheets/d/18qZNx58i2LRIj24S6uog8su5-NbdR2_Rwu9AkPSepzw/edit?usp=sharing
Thank you

delete everything in your B column and use in B1:
=INDEX(IFNA(VLOOKUP(A1:A, 'Data Page'!A:B, 2, 0)))

Related

How to find something in one sheet and add it to another?

I have a problem with Google Sheets. I need to create a list based on the cell contents in the new worksheet. For example: If in the 'Example1' sheet, in cell E2, the value is 'yes', add the entire row to the 'Example2' sheet. Is it possible to do it in Google Sheets?
try it like this:
=QUERY(Example1!A:Z; "where E='yes'"; 0)

Create a link within same sheet from top 10

I have a sheet that I want to have a link to the cell within the same sheet.
I want to link the following Phone names to the second image cell.
Above is a list of phones
I read this and attempted it but this did not work for me.
=HYPERLINK("#MyRange","Shift to there")
My formula in cell M2
=INDEX($C$2:$C$70,MATCH(N2,$I$2:$I$70,0))
And this
=HYPERLINK(VLOOKUP(M2,'Copy of Phones DP'!phones,1,0),M2)
This one links me to a new tab and searches for the following
http://galaxy%20s9+%2064gb/
The expected outcome would be When I click on the phone name in column M it goes to the phone row in column C
EDIT:
Ok so I'm getting close
I use the following
=HYPERLINK("#" & CELL("address",INDEX(C2:C64,MATCH(M3,phoneName,0))),B5)
It does not go to the cell but the URL changes in Google Sheets to
https://docs.google.com/spreadsheets/d/1Krsba8iEQU10z/edit#$C$58
=ARRAYFORMULA(IF(LEN(M2:M11),
HYPERLINK("https://docs.google.com/spreadsheets/d/16nnuzNRx_kGGJm1EBVX7kBT2bfW1-2TYwSiuaLF-QIA/edit#gid=130953988&range=C"&
VLOOKUP(M2:M11, {Sheet1!C2:C, ROW(Sheet1!C2:C)}, 2, 0), M2:M11), ))
The command you need is CELL
=HYPERLINK(CELL("address",INDEX(C2:C64,MATCH(M3,phoneName,0))),B5)

Link a cell to multiple cells exclude middle range in Google Sheet

I am new to Google sheet functions, Trying to create hyperlink from a cell to multiple cells.
Like
A1 cell in Google sheet should hyperlink to 2 cell range
1. B3:F20
2. I3:L20
I can easily hyperlink a cell to given single range Like B3:F20
using this function
=HYPERLINK("#gid=2&range=B2:F20","Account")
But I am struggling to find a solution to make a hyperlink in a cell to more than one range.
try this:
={HYPERLINK("#gid=2&range=B2:F20", "Account");
HYPERLINK("#gid=2&range=I3:L20", "2ndrange")}

Input cell from another sheet based on named cell name

Is they a simple way to import a cell from another sheet based on the name of a cell in the current sheet?
Below, I trying to say if A2 equals named sheet say Sheet2 then import J10 from Sheet2
=IMPORTRANGE(""=A2"","J10")
Thanks
Using =indirect("'"&A2&"'!J10")

TRANSPOSING: How to copy a cell value into the 'Sheet' part of formula

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"))

Resources