Pull a hyperlink from a hidden sheet Microsoft Excel - excel

I'm trying to pull a hyperlink from a hidden sheet in excel to be used in combination with an IF command, it means there will be 3 arguments.
=IF(A24="","",VLOOKUP(A24,'Product Data '!$A$2:$AD$213,19,FALSE))
Is this possible?
Please see current formula below. How do I add for the hyperlink to be used in conjunction with the IF command as I only want the link to show if specific text is selected.
TIA

In order to use the HYPERLINK from a cell in another cell, you should write it in the HYPERLINK formula:
Something like this:
=HYPERLINK(IF(1=1,VLOOKUP("www.test.com",'Product Data '!A1:A10,1,0)))
The sheet and whether it is hidden or not is irrelevant.

Related

Link excel with another closed excel with dynamic tab name

I'm trying to get a value from another Excel in Excel, but the tab name would have to be dynamic. For example: if in cell A1 of Workbook1 I have a drop-down list with the names of the tabs in Workbook2, I would like that, by changing the option selected in the drop-down list, the values ​​would automatically update.
I tried to use the indirect formula, but it only works with open Workbook2:
=INDIRECT("[Workbook2.xlsx]" & A1 & "!A1")
Does anyone know of any other alternative, preferably without using VBA? Thanks in advance

OpenOffice Calc - Hyperlink dropdown list

I have a problem with my hyperlink formula, it worked fine in Excel but when using it in ubuntu the hyperlink doesn't work it might be a syntax error
FORMULA :
=HYPERLINK("[base.xlsx]RECORRIDOS!"&$BASE.Q4,$BASE.Q4)
what is does is what it changes the hyperlink name depending on what you choose in the dropdown list in the cell beside it, and when clicking it it takes you to another sheet where the list is to the cell that you chose in the dropdown list
Here is how to use HYPERLINK to go to another sheet named "RECORRIDOS" in Calc, to the cell address given in Q4.
=HYPERLINK("#RECORRIDOS."&Q4,"Go to "&Q4)
For Apache OpenOffice you may need to use ; instead of , to separate arguments.
One difference between Excel and Calc is that Excel uses ! where Calc uses . in addresses.

Excel hyperlink - update cell automatically

I have a problem finding (if exist) a method to update the hyperlink values automatically.
Example: I have 2 Spreadsheets: Document and List. In Document i have a hyperlinks which connects to A20 from List. If adding before the cell A20 two new rows, i will need to manually modify the hyperlink (Edit hyperlink of CTRL+K) to change the hyperlink from Document to A22.
This process can be made automatically when adding or erase rows in the spreadsheet List?
Here is a way to use hyperlink, just update the file paths. I just used a match formula to look for "Link Here" in the List file and it worked for me.
=HYPERLINK("[C:\Users\[username]\Desktop\List.xlsx]Sheet1!$A$"&MATCH("Link here",'C:\Users\[username]\Desktop\[List.xlsx]Sheet1'!$A1:$A1000,0),"Link to List")

Excel "Insert shapes" Color change based on cell value

Anyone knows how to Change the color of Shapes("Insert-> Shapes") based on the value of a cell. i could do this with the help of macro. but i now need the same to be done without the help of macro.
Kindly share the formula if anyone can do this.
thanks.
Example how to show the picture of a named range in a ActiveX image control:
Open Excel with a empty Worksheet Sheet1.
Write 0 in A1.
Create a named range using the Name Manager http://office.microsoft.com/en-us/excel-help/define-and-use-names-in-formulas-HA010147120.aspx#BMmanage_names_by_using_the_name_manage
to do so:
open Name Manager
click New
Name= Image
Refers To= =INDEX(Sheet1!$E:$E,Sheet1!$A$1*4+1):INDEX(Sheet1!$E:$E,Sheet1!$A$1*4+4)
OK
close Name Manager
now:
Take a ActiveX Image Control from Developer tab
(http://office.microsoft.com/en-us/excel-help/show-the-developer-tab-HA101819080.aspx)
Controls and put it in the Worksheet.
Overwrite the formula =EMBED(...) in the formula bar with =Image
(the name of the named range). Now, if you change the value in Sheet1!A1,
you should see the cells E[n]:E[m] with n=A1*4+1 and m=A1*4+4 as
picture in the Image Control. Try it by putting values in E1:E20
and change A1.
Now, if you place different shapes over E1:E4, E5:E8, E9:E12,... you
see them in the Image Control by changing the value in A1.
Edit April 2019:
This works using Excel 2007. It does not work in later Excel versions because the ActiveX Image control does not more accept cell ranges as source.
Just tested in Excel 365:
First do the same steps as above but then in last step
now:
Copy four cells of one column (A1:A4 for example) into the clipboard. It is not important from where the cells are coming.
In the sheet where the image shall appear do Home -> Paste -> Linked Picture. A picture showing the copied cells is pasted. And the formula bar shows the formula =Sheet1!$A$1:$A$4 for example.
Overwrite the formula in the formula bar with =Image (the name of the named range). Now, if you change the value in Sheet1!A1, you should see the cells E[n]:E[m] with n=A1*4+1 and m=A1*4+4 as picture in the pasted picture. Try it by putting values in E1:E20 and change A1.
Now, if you place different shapes over E1:E4, E5:E8, E9:E12,... you see them in the pasted picture by changing the value in A1.

Custom sheet in address

Here's what I want to do...
I have an excel with a bunch of sheets... let's name them A,B,C,D.
And another one where I get values from one of them depending what the user enters in one cell.
So... to get a value from a sheet I use the following formula
='[file.xls]A'!$I$15
What I want to do... is if an user enters value B in a specific cell to have the formula changed to:
='[file.xls]B'!$I$15
Is there any way to do this?
Thanks!
You can only INDIRECTly reference a workbook that is open. If you are not going to open the external reference document, then you will need to install additional functionality into your Excel.
The ADD-IN is called MoreFunc...read all about it here:
http://xcell05.free.fr/morefunc/english/
Download and install it from here:
http://download.cnet.com/Morefunc/30...-10423159.html
Go into TOOLS > ADDINS and activate MoreFunc.
Now you have many, many new functions available to you. Any place you used INDIRECT, now use INDIRECT.EXT instead and it will work on closed workbooks.
Build the address string, and then use INDIRECT to retrieve its value.
e.g: if the sheet sheet name is in A1, then your formula could be something like
=INDIRECT("'[file.xls]" & A1 & "'!$I$15")

Resources