Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Indirect addressing for linked file

I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Indirect addressing for linked file

could you provide some example?


On 11 Gru, 21:55, ChEBass wrote:
I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Indirect addressing for linked file

These are cells from the spreadsheet as it is:
='[hourly steam December 2008.xls]Summary'!c34
='[hourly steam December 2008.xls]Summary'!c35
='[hourly steam December 2008.xls]Summary'!c36
....

I would like to set it up so I only put the month name in one cell and all
the links change.



"Jarek Kujawa" wrote:

could you provide some example?


On 11 Gru, 21:55, ChEBass wrote:
I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Indirect addressing for linked file

After seeing your example...

=INDIRECT("'[hourly steam "&B2&" 2008.xls]Summary'!"&c34)

where B2 contains the month you want.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"ChEBass" wrote:

These are cells from the spreadsheet as it is:
='[hourly steam December 2008.xls]Summary'!c34
='[hourly steam December 2008.xls]Summary'!c35
='[hourly steam December 2008.xls]Summary'!c36
...

I would like to set it up so I only put the month name in one cell and all
the links change.



"Jarek Kujawa" wrote:

could you provide some example?


On 11 Gru, 21:55, ChEBass wrote:
I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Indirect addressing for linked file

It didn't work but I played with the theme a little and got something that
does work.
first I created the path with CONCATENATE
=CONCATENATE("'[hourly steam "&B2&" 2008.xls]Summary'!C34")
then I reference that cell with INDIRECT and it pulls the data. Not quite as
clean as I would like but it works.

Thanks for the help.

"Luke M" wrote:

After seeing your example...

=INDIRECT("'[hourly steam "&B2&" 2008.xls]Summary'!"&c34)

where B2 contains the month you want.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"ChEBass" wrote:

These are cells from the spreadsheet as it is:
='[hourly steam December 2008.xls]Summary'!c34
='[hourly steam December 2008.xls]Summary'!c35
='[hourly steam December 2008.xls]Summary'!c36
...

I would like to set it up so I only put the month name in one cell and all
the links change.



"Jarek Kujawa" wrote:

could you provide some example?


On 11 Gru, 21:55, ChEBass wrote:
I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Indirect addressing for linked file

I think you want the INDIRECT formula.

something like:
=INDIRECT('[Book1.xls]&B2&"$C$2")

would return the value of cell C2 from Book1.xls, whatever sheet you have
the name of in cell B2.

Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"ChEBass" wrote:

I have a master calculation file which pulls data from a monthly data file. I
would like to use indirect addressing so I anoly change one cell each month
to point to the correct spreadsheet. I can use CONCATENATE to create
something that looks like the correct command, but I cannot make it an
executable statement to actually pull the data - it is text. Any ideas?

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
Graphs using indirect addressing [email protected] Charts and Charting in Excel 3 January 2nd 08 05:37 PM
Indirect Addressing in VBA C Brandt Excel Discussion (Misc queries) 7 July 3rd 07 10:13 PM
Indirect Addressing Kanga 85 Excel Discussion (Misc queries) 3 December 5th 05 04:03 AM
Indirect references in a linked formula Markshnier Excel Worksheet Functions 0 November 15th 04 03:36 AM
Indirect references in a linked formula Markshnier Excel Worksheet Functions 1 November 15th 04 02:49 AM


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