Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I use an indirect reference to a sheet in another workbook?

I am working with a formula which references a sheet in another workbook:

=SUM('Q:\ServCtr\ACCT\[ACCT Validation.xls]AL'!$D$290:$D$318)

This works, however the "AL" above refers to Alabama and I need to use this
formula for each state which has a separate page. I have a list of all state
abbreviations in my current workbook and would simply like to reference this
by cell instead of using a different state abbreviation on each line. I've
attempted many variations of the following formula (where B7 is the cell
which contains the abbreviation AL)...but no luck.

=SUM(INDIRECT('Q:\ServCtr\ACCT\[ACCT Validation.xls]"&B7&"'!$D$290:$D$318))

Any suggestions would be greatly appreciated! Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default How do I use an indirect reference to a sheet in another workbook?

Using INDIRECT requires that this file be open otherwise it won't work.
Also, since the file MUST be open you don't need the full path:

=SUM(INDIRECT("'[ACCT Validation.xls]"&B7&"'!D290:D318"))

Biff

"ClintG" wrote in message
...
I am working with a formula which references a sheet in another workbook:

=SUM('Q:\ServCtr\ACCT\[ACCT Validation.xls]AL'!$D$290:$D$318)

This works, however the "AL" above refers to Alabama and I need to use
this
formula for each state which has a separate page. I have a list of all
state
abbreviations in my current workbook and would simply like to reference
this
by cell instead of using a different state abbreviation on each line.
I've
attempted many variations of the following formula (where B7 is the cell
which contains the abbreviation AL)...but no luck.

=SUM(INDIRECT('Q:\ServCtr\ACCT\[ACCT
Validation.xls]"&B7&"'!$D$290:$D$318))

Any suggestions would be greatly appreciated! Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I use an indirect reference to a sheet in another workb

Thanks Biff! I appreciate your note & advice.

"Biff" wrote:

Using INDIRECT requires that this file be open otherwise it won't work.
Also, since the file MUST be open you don't need the full path:

=SUM(INDIRECT("'[ACCT Validation.xls]"&B7&"'!D290:D318"))

Biff

"ClintG" wrote in message
...
I am working with a formula which references a sheet in another workbook:

=SUM('Q:\ServCtr\ACCT\[ACCT Validation.xls]AL'!$D$290:$D$318)

This works, however the "AL" above refers to Alabama and I need to use
this
formula for each state which has a separate page. I have a list of all
state
abbreviations in my current workbook and would simply like to reference
this
by cell instead of using a different state abbreviation on each line.
I've
attempted many variations of the following formula (where B7 is the cell
which contains the abbreviation AL)...but no luck.

=SUM(INDIRECT('Q:\ServCtr\ACCT\[ACCT
Validation.xls]"&B7&"'!$D$290:$D$318))

Any suggestions would be greatly appreciated! Thanks!




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default How do I use an indirect reference to a sheet in another workb

Most people are disappointed when they find out that the other file needs to
be open.

Biff

"ClintG" wrote in message
...
Thanks Biff! I appreciate your note & advice.

"Biff" wrote:

Using INDIRECT requires that this file be open otherwise it won't work.
Also, since the file MUST be open you don't need the full path:

=SUM(INDIRECT("'[ACCT Validation.xls]"&B7&"'!D290:D318"))

Biff

"ClintG" wrote in message
...
I am working with a formula which references a sheet in another
workbook:

=SUM('Q:\ServCtr\ACCT\[ACCT Validation.xls]AL'!$D$290:$D$318)

This works, however the "AL" above refers to Alabama and I need to use
this
formula for each state which has a separate page. I have a list of all
state
abbreviations in my current workbook and would simply like to reference
this
by cell instead of using a different state abbreviation on each line.
I've
attempted many variations of the following formula (where B7 is the
cell
which contains the abbreviation AL)...but no luck.

=SUM(INDIRECT('Q:\ServCtr\ACCT\[ACCT
Validation.xls]"&B7&"'!$D$290:$D$318))

Any suggestions would be greatly appreciated! Thanks!






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
worksheet to worksheet . . . Wayne Knazek Excel Worksheet Functions 5 September 27th 06 06:57 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Sum up columns in different sheet with error check zeyneddine Excel Discussion (Misc queries) 13 July 10th 06 01:21 PM
Change sheet reference in new workbook [email protected] Excel Discussion (Misc queries) 2 January 26th 06 04:44 PM
Indirect reference to another sheet that can be dragged Brian Excel Worksheet Functions 1 October 17th 05 09:05 PM


All times are GMT +1. The time now is 06:44 AM.

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"