Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Insert sheet linkage

In a workbook, I have 2 sheets "xyz" and "abc".
If in sheet "xyz" cell a1 I have this formula =abc!a3, then it will return
the content of sheet "abc" cell a3.
However, instead of putting down "abc" in the formula, I want to put down
"abc" in sheet "xyz" cell a2 and have the formula in cell a1 to refer to it,
buy doing so, later on I can put different sheet name on it and get the
required data from other sheets.

I tried a few things buy didn't work, hope someone can give me a solution.

Thank you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Insert sheet linkage

Change your formula to this:

=INDIRECT("'"&A2&"'!A3")

with your sheet name in A2. Note the apostrophes -
<quotes<apostrophe<quotes and <quotes<apostrophe<exclamation
mark.

Hope this helps.

Pete

On May 7, 11:14*am, Learn-more
wrote:
In a workbook, I have 2 sheets "xyz" and "abc".
If in sheet "xyz" cell a1 I have this formula =abc!a3, then it will return
the content of sheet "abc" cell a3.
However, instead of putting down "abc" in the formula, I want to put down
"abc" in sheet "xyz" cell a2 and have the formula in cell a1 to refer to it,
buy doing so, later on I can put different sheet name on it and get the
required data from other sheets.

I tried a few things buy didn't work, hope someone can give me a solution.

Thank you


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Insert sheet linkage

It works, thank you very much.

My next job is to figure out how the function INDIRECT works.

Thanks.


"Pete_UK" wrote:

Change your formula to this:

=INDIRECT("'"&A2&"'!A3")

with your sheet name in A2. Note the apostrophes -
<quotes<apostrophe<quotes and <quotes<apostrophe<exclamation
mark.

Hope this helps.

Pete

On May 7, 11:14 am, Learn-more
wrote:
In a workbook, I have 2 sheets "xyz" and "abc".
If in sheet "xyz" cell a1 I have this formula =abc!a3, then it will return
the content of sheet "abc" cell a3.
However, instead of putting down "abc" in the formula, I want to put down
"abc" in sheet "xyz" cell a2 and have the formula in cell a1 to refer to it,
buy doing so, later on I can put different sheet name on it and get the
required data from other sheets.

I tried a few things buy didn't work, hope someone can give me a solution.

Thank you



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Insert sheet linkage

Try Excel help.
--
David Biddulph

"Learn-more" wrote in message
...
It works, thank you very much.

My next job is to figure out how the function INDIRECT works.

Thanks.


"Pete_UK" wrote:

Change your formula to this:

=INDIRECT("'"&A2&"'!A3")

with your sheet name in A2. Note the apostrophes -
<quotes<apostrophe<quotes and <quotes<apostrophe<exclamation
mark.

Hope this helps.

Pete

On May 7, 11:14 am, Learn-more
wrote:
In a workbook, I have 2 sheets "xyz" and "abc".
If in sheet "xyz" cell a1 I have this formula =abc!a3, then it will
return
the content of sheet "abc" cell a3.
However, instead of putting down "abc" in the formula, I want to put
down
"abc" in sheet "xyz" cell a2 and have the formula in cell a1 to refer
to it,
buy doing so, later on I can put different sheet name on it and get the
required data from other sheets.

I tried a few things buy didn't work, hope someone can give me a
solution.

Thank you





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Insert sheet linkage

You're welcome - thanks for feeding back.

Pete

On May 8, 3:20*am, Learn-more
wrote:
It works, thank you very much.

My next job is to figure out how the function INDIRECT works.

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
Linkage File AFA Excel Worksheet Functions 4 May 14th 08 08:58 AM
Date linkage Syahira Excel Discussion (Misc queries) 2 October 31st 07 02:22 PM
Time Sheet list linkage ELN Excel Worksheet Functions 3 October 16th 06 04:37 PM
worksheet linkage garyww Excel Discussion (Misc queries) 2 August 21st 06 03:39 AM
Linkage data between two spreadsheet vitality Excel Worksheet Functions 2 September 15th 05 06:49 AM


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