Link excel with another closed excel with dynamic tab name - excel

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

Related

Getting data from other sheets with dropdown menu

I want to get the datas from other sheets to the main sheet by selecting the store name from the dropdown menu on main sheet.
So on main sheet, i want people to select the store name from dropdown list and retrieve the product stock datas (all sheets have same product names) and allow them to change the stock values and store them to corresponding store sheets that i will hide.
Here is an example sheet i prepared:
https://docs.google.com/spreadsheets/d/1BtrNKMSgurdft01P9Dw5MEh7rmYWPapwE18yhvDCdYE/edit?usp=sharing
Waiting for your help.
Thanks
You can probably achieve the first part with the INDIRECT function, which lets you convert a String into a Cell Reference or Named Range.
As an example, if you have Worksheets called Sheet1 and Other Sheet, and a dropdown with those names in cell $A$1 of another sheet, then you can retrieve the value from cell $B$2 of those sheets like so:
=INDIRECT("'" & $A$1 & "'!$B$2")
Which will evaluate to one of the following:
=INDIRECT("'Sheet1'!$B$2") > =Sheet1!$B$2
or
=INDIRECT("'Other Sheet!$B$2") > ='Other Sheet'!$B$2
This will not, however, let you send the data back to that sheet without delving into VBA. If you don't want to do that, you might be better off changing your drop-down to a series of Hyperlinks along the top of your worksheets to go directly to the sheets?

Pull a hyperlink from a hidden sheet Microsoft 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.

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.

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

excel batch pasting formulas

I have a list of documents that I want to paste relative links to in Excel. I converted the list to a list of Excel formulas that look like
=HYPERLINK(".\docs\123abc\1.doc","1.doc")
=HYPERLINK(".\docs\456abc\1.doc","1.doc")
However when I paste this in Excel it will paste the text for the formula and not actually make it a formula. I have tried creating a macro to set each cell's FormulaR1C1 value as the value from the text in the cell and that didn't fix it. As well I have tried to copy and paste special as forumla and that did nothing either.
If I type in each formula by hand instead of copying and pasting them it works great, however the list of forumlas I have is a couple hundred and I would prefer not to have to type each one in by hand. Does anyone have any experience with this or suggestions on getting the forumla to register?
Before pasting the formulas,
Select all cells in worksheet
Right click and select "Format Cells..."
In the Number tab page, select General and click OK button.
Paste your formulas list.

Resources