English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a bunch of links I need to make from 75 similar files with different file names and information. I need to find a way to have excel use the values in one of my columns and plug them into the file path to take the information from the right file.

For example:

I need the actual file referenced for information to be taken from to be referenced from a cell in my file

='C:\Documents and Settings\[XXXXXXX.xls]Data'!$E$6

XXXXXX is a cell value, is this possible?

2006-11-21 01:53:15 · 5 answers · asked by Hidden 2 in Computers & Internet Software

5 answers

Yes
orlandobi has a point, but the function is wrong, his function will open the file, not call cells from it, your answer is like this,
Your column with files is B, the A has the path for each file.
Means A2 equals C:\Documents and settings
B2 equals XXXXXX
then in C2 paste this
=INDIRECT( "'"&A2&"\["&B2 &".xls]Data'!$E$6" )
This will brings you the value of cell E6 in Data sheet in file XXXX in the folder specified
Notice that you have to open both files at first for this function to work.

And I have another solution using macros.
Mail me any further Qs

Enjoy my profile, I am the VBAXLMan

2006-11-21 19:31:53 · answer #1 · answered by Anonymous · 0 0

1

2017-01-22 05:04:25 · answer #2 · answered by ? 4 · 0 0

think you can try the "HLOOKUP" function - which looks up a specified value in a Horizontal lookup or the "VLOOKUP" function which looks up a specified value in a vertical setup.

It is tricky but based on the information you have supplied, those two Excel fucntions could be useful.

2006-11-21 02:10:41 · answer #3 · answered by Asadudu OmoIbadan 1 · 0 0

you may desire to place in writing the formula then click on the worksheet & cellular you prefer to reference - it would nicely be hassle-free, no count number if that's a seperate worksheet - ensure you have it open first & have the two living house windows exhibiting

2016-10-04 05:09:58 · answer #4 · answered by ? 4 · 0 0

Yes you can.
=hyperlink("c:\Documents and Settings\"&A1&"Data'!$E",A1) where A1 contains the filename.

2006-11-21 02:48:31 · answer #5 · answered by orlandobillybob 6 · 0 0

fedest.com, questions and answers