Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default workbook in formula

Is there a way to have the name of a workbook in a formula from a column in
another column? For example, the workbook's name is in A1 like test.xls, the
formula will be in column b referencing test.xls as follows:

='[" & A1 & "]tabname'!$B$8

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default workbook in formula

Use the INDIRECT() function. Look in Help for details.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"ellen" wrote in message ...
| Is there a way to have the name of a workbook in a formula from a column in
| another column? For example, the workbook's name is in A1 like test.xls, the
| formula will be in column b referencing test.xls as follows:
|
| ='[" & A1 & "]tabname'!$B$8
|
| Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default workbook in formula

if text.xls is open, use

=indirect('[" & A1 & "]tabname'!$B$8)


"ellen" wrote:

Is there a way to have the name of a workbook in a formula from a column in
another column? For example, the workbook's name is in A1 like test.xls, the
formula will be in column b referencing test.xls as follows:

='[" & A1 & "]tabname'!$B$8

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default workbook in formula

I copied your formula exactly but it comes back with a #REF error. Any
further help would be appreciated.

Thanks!

"Duke Carey" wrote:

if text.xls is open, use

=indirect('[" & A1 & "]tabname'!$B$8)


"ellen" wrote:

Is there a way to have the name of a workbook in a formula from a column in
another column? For example, the workbook's name is in A1 like test.xls, the
formula will be in column b referencing test.xls as follows:

='[" & A1 & "]tabname'!$B$8

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default workbook in formula

tabname stands for the name of sheet, replace it with the name of the sheet
in question

--
Regards,

Peo Sjoblom



"ellen" wrote in message
...
I copied your formula exactly but it comes back with a #REF error. Any
further help would be appreciated.

Thanks!

"Duke Carey" wrote:

if text.xls is open, use

=indirect('[" & A1 & "]tabname'!$B$8)


"ellen" wrote:

Is there a way to have the name of a workbook in a formula from a
column in
another column? For example, the workbook's name is in A1 like
test.xls, the
formula will be in column b referencing test.xls as follows:

='[" & A1 & "]tabname'!$B$8

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
Help with Excel formula in a Workbook Solograndma Excel Worksheet Functions 8 April 6th 07 05:20 PM
Displaying formula from one workbook in another Barb Reinhardt Excel Worksheet Functions 1 February 17th 06 07:35 PM
Link A Cell In O ne Workbook To A Formula In Another Workbook Minitman Excel Worksheet Functions 0 November 4th 05 06:11 AM
how to copy formula from one workbook to another psp Excel Discussion (Misc queries) 2 September 2nd 05 04:33 PM
Copy Formula to Different Workbook rookerr Excel Worksheet Functions 1 August 24th 05 02:17 PM


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