#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Adressing

Hi,
I have a small problem with the address in formula. Bellow there is an
example from my formula, where the name "5 Cities" is the name of sheet.

G:\report\[Report.xls]5 Cities'!$D$25:$O$250

I would like to put into the formula the adress of cell where is the name "5
Cities". It will be easer next to change the name in a cell then the whole
formula.

Best regards,

Jacek


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Adressing

Hi Jacek
Use INDIRECT
For example if name of sheet is in E1:
=INDIRECT("G:\report\[Report.xls]" & E1 &"'!$D$25:$O$250")

HTH
Cordially
Pascal

"Jacek" a écrit dans le message de
...
Hi,
I have a small problem with the address in formula. Bellow there is an
example from my formula, where the name "5 Cities" is the name of sheet.

G:\report\[Report.xls]5 Cities'!$D$25:$O$250

I would like to put into the formula the adress of cell where is the name

"5
Cities". It will be easer next to change the name in a cell then the whole
formula.

Best regards,

Jacek




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



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