Create a link within same sheet from top 10 - google-sheets

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)

Related

Is there a function that can make a cell in a sheet connected to another cell in another sheet, with the same info but a different cell location

To explain properly. Lets say that you have Sheet "Employees", with 50 employees total. On row 18, cell A, you have Dave.
On the same sheet, you have a checkbox that once pressed will blur out Dave's name to show that he left the company.
Lets say that you have another sheet named "Activity", and there you also have the employees, but Dave on that sheet is on Row 42, Cell A.
Is there a way for me, that once i press the check box, Dave and ONLY Dave will get blurred out, both on Row 18 of the "Employees" Sheet, and on Row 42 of the " Activity" sheet without needing to a formula those cells specifically?
there are various ways how to tackle it... for example with conditional formatting:
=REGEXMATCH(D2, TEXTJOIN("|", 1,
FILTER(INDIRECT("Employees!A:A"), INDIRECT("Employees!B:B")=TRUE)))

Google Sheets. Is it possible to give a word a value?

I want to give words number values.
Eg. Monthly =12, Quartly = 4
What are some ways I can do this?
Thanks.
you can use the Named Range feature to name a cell. They can be in another sheet even (not another document, another sheet in the same document)
Steps
In the menus Click Data and then Named ranges. A menu will open on the right.
In a cell type 12
Select the cell with 12 in it
Click "Add Range" on the right
Type Monthly for the name
Click Done
Repeat the steps 2 to 6 for Quarterly
Now in some other cell (even on another sheet in the same document) type =Monthly in a cell or =Quarterly or Use those names in formulas
See docs
Here's a screenshot. I created a sheet called constants and typed 12 and 4 in 2 cells. I've named the first cell Monthly and the 2nd cell Quarterly
Then in Sheet1 I can reference those names in forumla
or you can do it directly like:
=IF(A1 = "Monthly"; 12;
IF(A1 = "Quartly"; 4; ))

How to quickly create a hyperlink to a sheet

I have a contents page of all the sheets in the document.
All of the cells listed under 'Rounds' and 'Data Input' have the same name as the sheet they are linking to, as you can see in the screenshot.
I was wondering if there is a way to create a link for all of these cells automatically, instead of going through every single one.
Thanks for the help.
I was able to do this by recording a Macro. Here are the steps I did whilst recording.
Delete all contents in the cells.
Paste in the array formula #player0 made me, into the first cell under the 'Rounds' column.
Select all the cells in the column and click on 'Convert to Links'.
Set colour to blue and underline so it looks like a link.
Here's the finished macro.

How do I format a cell, only when it's not empty, based on the input of another cell?

I'm working on a spreadsheet in Google Sheets for multiple people, and indicate in a column who the person the information on that row pertains to. I want to format cells on that column, only when they're not empty, based on what person is selected in another cell.
I can create functions to format things based on another cell's entry, but I don't know how to compound that with a function for not being empty. Sorry if this is super basic, I just can't figure it out.
Yep. This is a super simple thing to do.
1) Highlight the column where the person's name appears.
2) From the main menu, select Format, Conditional formatting.
3) In the sidebar click add a new rule. what you want to do is create one rule for each name that appears (or could appear) in that column.
4) Under "Format cells if, select "Text is exactly"
5) Type the name in the cell where it says Value or Formula
6) Choose a background colour to suit.
7) Click Done.
8) Repeat steps 3 to 7 for each person; but change the background colour in each case.
Here's an example.

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