Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I am trying to refer to a cell to open an external link

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I am trying to refer to a cell to open an external link


P Grieshop;251537 Wrote:
Here is my problem. I want to access external file(s) based on a name in
a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the
following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell
reference.

Thanks in advance for any help you can give me.


Try the INDIRECT function

A2 =indirect("C:\Test\"&A1&".xls!$a$3")


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=70244

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default I am trying to refer to a cell to open an external link

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default I am trying to refer to a cell to open an external link

If I use the addin feature, will I be able to give the spread sheet to
another person and it work the same as if it were still on my machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default I am trying to refer to a cell to open an external link

If I use the addin will I be able to give the spread sheet to another person
and have it perform the same on their machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default I am trying to refer to a cell to open an external link

Nope.

Each user who needs the formula will need the addin.

But you convert your formulas to values, then share the workbook.

P Grieshop wrote:

If I use the addin will I be able to give the spread sheet to another person
and have it perform the same on their machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default I am trying to refer to a cell to open an external link

Now that I have the add in and figured it out. I can not get indirect.ext to
work with VLOOKUP. Can you help? here is my formula

A1 = testbook
=VLOOKUP(4,INDIRECT.EXT("'D:\[" & A1 & ".xlsx]Sheet1'!A:A",93,FALSE)

I have try all different combinations and can not get it to work. I can get
it to access and retrieve anything in the file, just nothing in an array.

What I need to do is find a value in a column and retrieve a value from a
different column of the same row.






"Dave Peterson" wrote:

Nope.

Each user who needs the formula will need the addin.

But you convert your formulas to values, then share the workbook.

P Grieshop wrote:

If I use the addin will I be able to give the spread sheet to another person
and have it perform the same on their machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.

--

Dave Peterson


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default I am trying to refer to a cell to open an external link

If you're trying to return column 93 of a range, then that range has to be at
least 93 columns wide. Your range is just A:A--a single column.

So you need at least A:CO.

The next thing is that you may find that that range is too large (too many
rows). If you get an error back from excel (cannot complete action with
available resources (or something like that), then try using a smaller number of
rows.

You may find that using =index(match()) would take less resources, too.

=index(...sheet1'!co1:co99,match(4,...sheet1'!a1:a 99,0))

Debra Dalgleish has lots of notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://www.contextures.com/xlFunctions03.html (for =index(match()))
and
http://contextures.com/xlFunctions02.html#Trouble

P Grieshop wrote:

Now that I have the add in and figured it out. I can not get indirect.ext to
work with VLOOKUP. Can you help? here is my formula

A1 = testbook
=VLOOKUP(4,INDIRECT.EXT("'D:\[" & A1 & ".xlsx]Sheet1'!A:A",93,FALSE)

I have try all different combinations and can not get it to work. I can get
it to access and retrieve anything in the file, just nothing in an array.

What I need to do is find a value in a column and retrieve a value from a
different column of the same row.

"Dave Peterson" wrote:

Nope.

Each user who needs the formula will need the addin.

But you convert your formulas to values, then share the workbook.

P Grieshop wrote:

If I use the addin will I be able to give the spread sheet to another person
and have it perform the same on their machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default I am trying to refer to a cell to open an external link

Thanks for all you help Dave. I think I have figure out what I needed. A
combination of Indirect.ext Index and Match seem to fit the bill.
Great job, two thumbs up!

"Dave Peterson" wrote:

If you're trying to return column 93 of a range, then that range has to be at
least 93 columns wide. Your range is just A:A--a single column.

So you need at least A:CO.

The next thing is that you may find that that range is too large (too many
rows). If you get an error back from excel (cannot complete action with
available resources (or something like that), then try using a smaller number of
rows.

You may find that using =index(match()) would take less resources, too.

=index(...sheet1'!co1:co99,match(4,...sheet1'!a1:a 99,0))

Debra Dalgleish has lots of notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://www.contextures.com/xlFunctions03.html (for =index(match()))
and
http://contextures.com/xlFunctions02.html#Trouble

P Grieshop wrote:

Now that I have the add in and figured it out. I can not get indirect.ext to
work with VLOOKUP. Can you help? here is my formula

A1 = testbook
=VLOOKUP(4,INDIRECT.EXT("'D:\[" & A1 & ".xlsx]Sheet1'!A:A",93,FALSE)

I have try all different combinations and can not get it to work. I can get
it to access and retrieve anything in the file, just nothing in an array.

What I need to do is find a value in a column and retrieve a value from a
different column of the same row.

"Dave Peterson" wrote:

Nope.

Each user who needs the formula will need the addin.

But you convert your formulas to values, then share the workbook.

P Grieshop wrote:

If I use the addin will I be able to give the spread sheet to another person
and have it perform the same on their machine?

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

P Grieshop wrote:

Here is my problem. I want to access external file(s) based on a name in a cell

A1 Example1
A2 =C:\Test\"A1".xls!$a$3

As the above formula stands I want it to open a file with the following
C:\Test\Example1.xls$a$3

If A1 where changed to Example2 then the following would open
C:\Test\Example2.xls$a$3

In short I want the path and file name changeable based on a cell reference.

Thanks in advance for any help you can give me.

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating link to external source without having it open Gunti Excel Discussion (Misc queries) 1 November 13th 08 10:53 AM
link to a cell in an external spreedsheet Terry Excel Worksheet Functions 3 August 7th 08 09:07 PM
Cell External Link in a sheet Hassan Shareef Excel Discussion (Misc queries) 5 October 17th 07 10:31 PM
GetPivotData refer to external cell Michael S Excel Worksheet Functions 4 February 15th 06 09:28 PM
External link only works for numbers -- for text values, #N/A is displayed unless linked file is open Sven Filter Links and Linking in Excel 1 February 22nd 05 08:10 AM


All times are GMT +1. The time now is 02:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"