Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Anthony Slater
 
Posts: n/a
Default Indirect and Path & File Names

Hi

I have the following formula that works a treat if all my 80 Workbooks are
open

SUMPRODUCT((INDIRECT("'[Sales for "&$A9&" period 2005_01_01 to
2005_03_31.xls]Sheet1'!$E$5:$E$10000")'Sales'!C9)*(INDIRECT("'[Sales for
"&$A9&" period 2005_01_01 to
2005_03_31.xls]Sheet1'!$a$5:$a$10000")<'Sales'!$H$6))

Is there a way to arrange the above formula to include the path of the
relevent files so they do not need to be open?

The path is C:\Workbooks\<filename

TIA
  #2   Report Post  
Nick
 
Posts: n/a
Default

Hi Anthony
I think I'm right in saying that the INDIRECT function will only work across
workbooks if the workbooks are actually open.
I've used a similar technique using the OFFSET function and I always needed
the books open.

Nick

"Anthony Slater" wrote in message
...
Hi

I have the following formula that works a treat if all my 80 Workbooks are
open

SUMPRODUCT((INDIRECT("'[Sales for "&$A9&" period 2005_01_01 to
2005_03_31.xls]Sheet1'!$E$5:$E$10000")'Sales'!C9)*(INDIRECT("'[Sales for
"&$A9&" period 2005_01_01 to
2005_03_31.xls]Sheet1'!$a$5:$a$10000")<'Sales'!$H$6))

Is there a way to arrange the above formula to include the path of the
relevent files so they do not need to be open?

The path is C:\Workbooks\<filename

TIA



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
Referencing a closed file briancrosier Excel Worksheet Functions 2 December 14th 04 04:11 PM


All times are GMT +1. The time now is 12:24 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"