LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Using 1 cell's value as a reference

On other approach to consider then:
Have a hidden sheet with direct links from this workbook over into
Workbook2, and then you can use INDIRECT() within your workbook to references
those cells in your hidden sheet.


AS on your hidden sheet you've got direct links set up to Workbook2 in same
column for easy examination/analysis:
=[Workbook2.xls]Sheet1!Z1
.....
=[Workbook2.xls]Sheet1!Z999

and in your workbook then you could use
=INDIRECT("'My Hidden Sheet'!Z" & A1)

"Oddjob" wrote:

Thanks for your help Pete. I couldn't quite figure out the syntax to make
INDIRECT work properly. As I'd be unable to ensure all users had downloaded
INDIRECT.EXT I think I'll just approach the problem from a different angle.

Thanks for your reply
"Pete_UK" wrote:

If workbook2 was open then you could use INDIRECT like this:

=INDIRECT("'[Workbook 2.xls]Sheet1'!Z"&A1)

However, this function will only work with open workbooks. But, if you
are allowed to install add-ins, then there is a free one called
morefunc (Google will tell you where you can download it from), and
this has the function INDIRECT.EXT which will work with closed
workbooks. You will need to specify the full path to Woorkbook 2, and
you would use it like this:

=INDIRECT.EXT("'full_path\[Workbook 2.xls]Sheet1'!Z"&A1)

Hope this helps.

Pete

On Oct 28, 3:19 pm, Oddjob wrote:
Excel 2002

In Workbook 1 the value of cell A1 can be variable but always numeric. If,
for instance, A1's current value was ## how can I make cell B1 return the
value of cell Z## in Workbook 2? It would be helpful if the solution didn't
require Workbook 2 to be open.

Thanks for any help


.



 
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
How do I Reference another cell's content including its format Brian D Excel Worksheet Functions 2 November 15th 08 01:07 AM
using a cell's reference to return a value. Bhupinder Rayat Excel Worksheet Functions 3 January 2nd 08 02:21 PM
row= cell's row wptech Excel Worksheet Functions 3 July 11th 06 09:07 AM
returning a cell's value and a corresponding value Force Flow Excel Worksheet Functions 2 November 24th 05 08:17 PM
Changing named range reference depending on a cell's content cparaske Excel Discussion (Misc queries) 1 July 29th 05 07:06 PM


All times are GMT +1. The time now is 10:19 PM.

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"