Excel Hyperlink within Hyperlink - excel

Cell A1 of Sheet1 has an Hyperlink to a file
Cell A1 of Sheet2 has a Vlookup referencing Cell A1 of Sheet1
How can I make it so(without macros) clicking A1 of Sheet2 also opens the file referenced in A1 of Sheet1?
I have tried Hyperlink(Vlookup ("vlookup logic") ) but it gives "Can't open specified file"

I'm quite sure the only thing you need to do is add the hyperlink formula to the vlookup. So:
=hyperlink(vlookup(stuff...))

Related

How to use the contents of a cell to designate the name of a sheet to reference?

=IF(B15="Lift Tickets",A15!LiftTickets_Markup1,"")
I'm trying to use cell A15 as the name of the WorkSheet to look for cell(LiftTickets_Markup1).
A15 changes depending on the results of add-in macros.
Since in this case cell A15 = "Alterra" then the formula should look return Alterra!LiftTickets_Markup1
image shows the excel page and worksheets below

Excel relative cell hyperlink

I have a workbook with sheet1 and sheet 2, sheet1 cell A1 pulls info from sheet2 cell C1, so for easy editing I have hyperlinked sheey2!C1 in sheet1 cell A1.
My issue is that when i delete rows/columbs in sheet 2, the hyperlink does not adapt accordingly and then pull the wrong data, any ways around this?
You can try this to create your hyperlink:
=HYPERLINK(link_location[, friendly_name])
Example:
=HYPERLINK(Sheet2!A2, "A2")
In the given example, if the first row is deleted, the formula is automatically changed to =HYPERLINK(Sheet2!A1, "A2")

How to delete a sheet and insert the same sheet with the same name but prevent referencing errors in formula while doin so?

I have a value in cell D8 of Sheet2.
Cell A4 from Sheet1 has a formula that contains the value of cell D8 from Sheet2.
Now, when I delete the entire Sheet2, I get a referencing error in the formula from cell A4 in Sheet1, which is fine.
But when I insert a new sheet with the same sheet name Sheet2 with another new value in cell D8, my formula in cell A4 of Sheet1 still displays a referencing error.
How do I solve this?
For formulas within the same sheet, I can use offset function but I'm stuck when it comes to deleting and re-inserting sheets.
Thanks!
Use indirect function in cell A4 of Sheet1 to hard code the address, like this
=INDIRECT("Sheet2!D8")
Either
Just copy and paste the contents of the new Sheet2 directly over the existing sheet.
or
Rename Sheet2 to a new name, for example fred
Insert your new Sheet2
Press Ctrl & F together..... Replace ....find what: fred, replace with: Sheet2

refer to a cell in another workbook which is named after the value in cell A1

In a destination workbook cell B1 has to return a value of cell C1 of another source workbook which is named after the value in cell A1 from the destination workbook. So for example if the cell value of cell A1 in the destination workbook is "source1" then cell B1 of should return the value of cell C1 in workbook "source1.xlsx"
How should the formula in destination workbook cell B1 look like?
The formula you need is INDIRECT. Try something like this:
=INDIRECT("'[" & A1 & "]Sheet1'!C1",TRUE).
This assumes the source sheet is Sheet1 and the name of the source workbook is stored in cell A1.
Rachel Hettinger's solution will work fine if the workbook is open. But INDIRECT doesn't work on closed books. If you want to do this for closed books you'll need Harlan Grove's PULL function:
http://numbermonger.com/2012/02/11/excel-pull-function-creating-dynamic-links-to-closed-workbooks/

How to Copy all the data that is referenced in the Excel Formula?

I have a simple example here with an Excel file
Worksheet1 has some content like below
A1 = 2
A2 = 3
A3 = "=A1+A2"
Now, i want to copy the formula of A3 from Worksheet1 to Worksheet2.
When i do this, i should get the reference cell content (A1, A2) also to be copied automatically to Worksheet2 (some way to detect the reference content automatically)
Here, i don't want reference or linked cells, coz i might be doing it between different Workbooks
Select Worksheet1, now press Ctrl and select Worksheet2 as well. go to A3, edit the formula and press enter. Now the formula sits in A3 on Worksheet2 as well. You can even select more sheets (up to ALL sheets) and do this across the sheets selected.

Resources