Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
daj32
 
Posts: n/a
Default Lookup worksheet name in separate workbook

How can I change the 'sheetname' in this formula based on the value (name) in
a cell or can I match the name of the current sheet to an identical sheet in
another workbook?

=[Workbook.xls]Sheetname!Cell


  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You can use INDIRECT

=INDIRECT("'[Workbook.xls]"&C1&"'!Cell")


note that the other workbook has to be open



Regards,

Peo Sjoblom

"daj32" wrote:

How can I change the 'sheetname' in this formula based on the value (name) in
a cell or can I match the name of the current sheet to an identical sheet in
another workbook?

=[Workbook.xls]Sheetname!Cell


  #3   Report Post  
D Johnson
 
Posts: n/a
Default

That is great! Thanks - I've always assumed that it couldn't be done but this
will solve a LOT of problems that I have...
Thanks again

DJ

"Peo Sjoblom" wrote:

You can use INDIRECT

=INDIRECT("'[Workbook.xls]"&C1&"'!Cell")


note that the other workbook has to be open



Regards,

Peo Sjoblom

"daj32" wrote:

How can I change the 'sheetname' in this formula based on the value (name) in
a cell or can I match the name of the current sheet to an identical sheet in
another workbook?

=[Workbook.xls]Sheetname!Cell


  #4   Report Post  
D Johnson
 
Posts: n/a
Default

It looks like I can only see the results of this formula if BOTH workbooks
are open at the same time...is there anyway to avoid this?

"D Johnson" wrote:

That is great! Thanks - I've always assumed that it couldn't be done but this
will solve a LOT of problems that I have...
Thanks again

DJ

"Peo Sjoblom" wrote:

You can use INDIRECT

=INDIRECT("'[Workbook.xls]"&C1&"'!Cell")


note that the other workbook has to be open



Regards,

Peo Sjoblom

"daj32" wrote:

How can I change the 'sheetname' in this formula based on the value (name) in
a cell or can I match the name of the current sheet to an identical sheet in
another workbook?

=[Workbook.xls]Sheetname!Cell


  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

It's possible but somewhat complicated

http://makeashorterlink.com/?F2993260A


Regards,

Peo Sjoblom

"D Johnson" wrote in message
...
It looks like I can only see the results of this formula if BOTH workbooks
are open at the same time...is there anyway to avoid this?

"D Johnson" wrote:

That is great! Thanks - I've always assumed that it couldn't be done but

this
will solve a LOT of problems that I have...
Thanks again

DJ

"Peo Sjoblom" wrote:

You can use INDIRECT

=INDIRECT("'[Workbook.xls]"&C1&"'!Cell")


note that the other workbook has to be open



Regards,

Peo Sjoblom

"daj32" wrote:

How can I change the 'sheetname' in this formula based on the value

(name) in
a cell or can I match the name of the current sheet to an identical

sheet in
another workbook?

=[Workbook.xls]Sheetname!Cell






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
How to open a workbook with a specific worksheet displayed by defa ThaiNB New Users to Excel 2 January 21st 05 06:11 AM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
copy COLUMN from 1 worksheet to another (in a different workbook) DavidB Excel Discussion (Misc queries) 3 January 15th 05 02:47 PM
Copying worksheet from workbook to another Mark Jackson Excel Worksheet Functions 0 January 14th 05 09:05 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


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