Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Link cells to worksheets

A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 211
Default Link cells to worksheets

YOu can include workbook name in the reference of an address for a cell.
One solution is that, put "=" in B, C, D and then click the required cell
from the workbook you need. In this solution you should not change the
filename or move it to another folder.
This solution doesn't use the name of workbook stored in A.
HTH
--
Rasoul Khoshravan Azar
Kobe University, Kobe, Japan


"Sparky13" wrote:

A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Link cells to worksheets

Yes, I could use the"=" but that will require I keep going back and forth
between the worksheets. I need a template to copy to many workbooks all with
differant tab names. If I can just type in the tab name it will be faster and
more virsatal

"Khoshravan" wrote:

YOu can include workbook name in the reference of an address for a cell.
One solution is that, put "=" in B, C, D and then click the required cell
from the workbook you need. In this solution you should not change the
filename or move it to another folder.
This solution doesn't use the name of workbook stored in A.
HTH
--
Rasoul Khoshravan Azar
Kobe University, Kobe, Japan


"Sparky13" wrote:

A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Link cells to worksheets

Hi Sparky,

if my understanding is ok use indirect and address to do it

=indirect(address(LINE_NUM,COLUMN_NUM,1,1,A1))

when you change the name of the sheet on A1 the cells will be actualized.

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Sparky13" escreveu:

Yes, I could use the"=" but that will require I keep going back and forth
between the worksheets. I need a template to copy to many workbooks all with
differant tab names. If I can just type in the tab name it will be faster and
more virsatal

"Khoshravan" wrote:

YOu can include workbook name in the reference of an address for a cell.
One solution is that, put "=" in B, C, D and then click the required cell
from the workbook you need. In this solution you should not change the
filename or move it to another folder.
This solution doesn't use the name of workbook stored in A.
HTH
--
Rasoul Khoshravan Azar
Kobe University, Kobe, Japan


"Sparky13" wrote:

A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Link cells to worksheets

In B1:

=INDIRECT("'"&$A$1&"'!"&ADDRESS(1,COLUMN()))

HTH
Kostis Vezerides

Sparky13 wrote:
A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Link cells to worksheets

Maybe a little further explaintion:
The workbook contains many worksheets (Tabs) such as Company A, Company B,
etc. Each worksheet will always contain material data in cell Z1 (for
example). Normally the formula for B1 would be ='Company A'!Z1. What I need
is a template that I can copy to any workbook, that will retrive the data
from Z1 for what ever name I type in A1. Basically I need a formula that will
substitute whatever is typed into A1 for "Company A" in the above formula.

"vezerid" wrote:

In B1:

=INDIRECT("'"&$A$1&"'!"&ADDRESS(1,COLUMN()))

HTH
Kostis Vezerides

Sparky13 wrote:
A B C D
1 [Worksheet / Tab name] Material Labor Overhead
2

I need to make a template which I can copy into differant workbooks. In the
above example I would like to input the worksheet (or tab) name into A1 and
have excel fill in the information for B, C, & D. The worksheet (tab) names
will always be different but the cells in the worksheets which contain the
data for B,C,D will always be the same. I could have as many as 50+
worksheets in the workbook. I know I may get errors in B,C,D if A is blank
but I can deal with that.

Question: What is the formula for cells B,C,D to:
1)look at the name in A
2)find that worksheet and
3)copy the date from that worksheet to cells B, C, D?



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Link cells to worksheets

Hi,

If B1:D1 get their values from the corresponging cells in the target
sheet,

=INDIRECT("'"&$A$1&"'!"&ADDRESS(1,COLUMN()))

If you want a specific cell in B1 (say K24), then:

=INDIRECT("'"&$A$1&"'!K24")

HTH
Kostis Vezerides

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
need to paste link from 4 vertical cells to 4 horizontal cells? cioangel Excel Discussion (Misc queries) 6 June 8th 09 06:44 PM
link a range of cells ken's dilemma Excel Worksheet Functions 4 September 13th 07 07:59 PM
link cells to documents that aren't created yet jrm Excel Discussion (Misc queries) 9 July 6th 06 03:01 AM
How do I link many cells to one particular cell? fish@divi Excel Discussion (Misc queries) 2 January 4th 05 11:00 PM
How do I link many cells to one particular cell? justinfishman22 Excel Discussion (Misc queries) 2 January 4th 05 12:09 AM


All times are GMT +1. The time now is 08:20 AM.

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"