#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default Indirect functiion

Can anyone help me substitute an indirect function for the Workbook and tab
name in the following formula. I want my formula to use cell A1 to determine
the workbook and tab to pull data from.


=INDEX([GOODYEAR.xls]GT_0!$L$1:$N$98,
MATCH($A6,[GOODYEAR.xls]GT_0!$L$1:$L$98,),
MATCH("BUY",[GOODYEAR.xls]GT_0!$L$1:$N$1,))

Any help would be appreciated

--
Regards,

timmulla
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Indirect functiion

Use 2 cells, say A1:B1, to house the book name and tab name, eg:

In A1: GOODYEAR
In B1: GT_0

Then with GOODYEAR.xls simultaneously open, use:
=INDEX(INDIRECT("'["&A1&".xls]"&B1&"'!L1:N98"),MATCH($A6,INDIRECT("'["&A1&".xls]"&B1&"'!L1:L98"),),MATCH("BUY",INDIRECT("'["&A1&".xls]"&B1&"'!L1:N1"),))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"timmulla" wrote:
Can anyone help me substitute an indirect function for the Workbook and tab
name in the following formula. I want my formula to use cell A1 to determine
the workbook and tab to pull data from.


=INDEX([GOODYEAR.xls]GT_0!$L$1:$N$98,
MATCH($A6,[GOODYEAR.xls]GT_0!$L$1:$L$98,),
MATCH("BUY",[GOODYEAR.xls]GT_0!$L$1:$N$1,))

Any help would be appreciated

--
Regards,

timmulla

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 42
Default Indirect functiion

Max,

Is this possible to do without having the referenced workbook open? I know
the formula will have to be changed to include the file location, but I'm
just wondering if it is even possible. I have been trying for awhile and it
hasn't been working.

Thanks,
DoubleZ

"Max" wrote:

Use 2 cells, say A1:B1, to house the book name and tab name, eg:

In A1: GOODYEAR
In B1: GT_0

Then with GOODYEAR.xls simultaneously open, use:
=INDEX(INDIRECT("'["&A1&".xls]"&B1&"'!L1:N98"),MATCH($A6,INDIRECT("'["&A1&".xls]"&B1&"'!L1:L98"),),MATCH("BUY",INDIRECT("'["&A1&".xls]"&B1&"'!L1:N1"),))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"timmulla" wrote:
Can anyone help me substitute an indirect function for the Workbook and tab
name in the following formula. I want my formula to use cell A1 to determine
the workbook and tab to pull data from.


=INDEX([GOODYEAR.xls]GT_0!$L$1:$N$98,
MATCH($A6,[GOODYEAR.xls]GT_0!$L$1:$L$98,),
MATCH("BUY",[GOODYEAR.xls]GT_0!$L$1:$N$1,))

Any help would be appreciated

--
Regards,

timmulla

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Indirect functiion

Is this possible to do without having the referenced workbook open?

No, I'm afraid not. That's the requirement.

Here's a relevant snippet from a Dave Peterson posting:

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

You might want to check it out.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"DoubleZ" wrote:
Max,

Is this possible to do without having the referenced workbook open? I know
the formula will have to be changed to include the file location, but I'm
just wondering if it is even possible. I have been trying for awhile and it
hasn't been working.

Thanks,
DoubleZ


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
Indirect ref in array formulas RD Wirr Excel Worksheet Functions 3 November 18th 06 01:17 PM
Copying a formulae down a column that includes an INDIRECT A.Webb Excel Discussion (Misc queries) 10 January 14th 06 03:42 AM
Using INDIRECT in INDEX(LINEST.. ) function Incoherent Excel Worksheet Functions 4 January 10th 06 04:42 PM
Using the Indirect function with a sheet number instead of a sheet name JDB Excel Worksheet Functions 5 December 31st 05 03:03 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM


All times are GMT +1. The time now is 12:28 PM.

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

About Us

"It's about Microsoft Excel"