Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I
insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rod,
=INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Bernie, Thanks for the help. It is quite working out for me though. I put in the formula like you said ,but it returns "#ref" instead of what I want it to? The other worksheet was open at the time so that shouldn't be the issue. What do they mean by A1 reference, or R1C1? Does that have anything to do with my problem? Thanks in advance for you help. Rod "Bernie Deitrick" wrote: Rod, =INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rod,
Worksheets are tabs within a workbook. Separate files are called workbooks, not worksheets... thus our confusion. You need to create a valid formula string within the INDIRECT function that refers to the cell of interest. Open both books, type = into cell D4 of book A, then navigate to cell D2 of book B and press Enter. You should then get a formula like ='[BookB.xls]Sheet 1'!$D$2 Which you can then include in the INDIRECT function by adding INDIRECT(" between the = and the first ' (or, if there is no single quote mark, the square bracket [ ) and then adding ") at the end. HTH, Bernie MS Excel MVP "Rod" wrote in message ... Bernie, Thanks for the help. It is quite working out for me though. I put in the formula like you said ,but it returns "#ref" instead of what I want it to? The other worksheet was open at the time so that shouldn't be the issue. What do they mean by A1 reference, or R1C1? Does that have anything to do with my problem? Thanks in advance for you help. Rod "Bernie Deitrick" wrote: Rod, =INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have been trying it both in separate worksheets and workbooks to see which
one would work out the best. I will try your suggestion and let you know the results "Bernie Deitrick" wrote: Rod, Worksheets are tabs within a workbook. Separate files are called workbooks, not worksheets... thus our confusion. You need to create a valid formula string within the INDIRECT function that refers to the cell of interest. Open both books, type = into cell D4 of book A, then navigate to cell D2 of book B and press Enter. You should then get a formula like ='[BookB.xls]Sheet 1'!$D$2 Which you can then include in the INDIRECT function by adding INDIRECT(" between the = and the first ' (or, if there is no single quote mark, the square bracket [ ) and then adding ") at the end. HTH, Bernie MS Excel MVP "Rod" wrote in message ... Bernie, Thanks for the help. It is quite working out for me though. I put in the formula like you said ,but it returns "#ref" instead of what I want it to? The other worksheet was open at the time so that shouldn't be the issue. What do they mean by A1 reference, or R1C1? Does that have anything to do with my problem? Thanks in advance for you help. Rod "Bernie Deitrick" wrote: Rod, =INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you so much Bernie. It was the quotation marks I was lacking. What is
their purpose? What does that say to the computer? "Rod" wrote: Bernie, Thanks for the help. It is quite working out for me though. I put in the formula like you said ,but it returns "#ref" instead of what I want it to? The other worksheet was open at the time so that shouldn't be the issue. What do they mean by A1 reference, or R1C1? Does that have anything to do with my problem? Thanks in advance for you help. Rod "Bernie Deitrick" wrote: Rod, =INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The quote marks tell Excel that the value being passed to the function is a string, which is what
the INDIRECT function requires. HTH, Bernie MS Excel MVP "Rod" wrote in message ... Thank you so much Bernie. It was the quotation marks I was lacking. What is their purpose? What does that say to the computer? "Rod" wrote: Bernie, Thanks for the help. It is quite working out for me though. I put in the formula like you said ,but it returns "#ref" instead of what I want it to? The other worksheet was open at the time so that shouldn't be the issue. What do they mean by A1 reference, or R1C1? Does that have anything to do with my problem? Thanks in advance for you help. Rod "Bernie Deitrick" wrote: Rod, =INDIRECT("'Sheet B'!D2") Fix up the sheet name to reflect your actual names... HTH, Bernie MS Excel MVP "Rod" wrote in message ... I have two worsheets A & B. I have linked cell D4 in A to D2 in B. When I insert a row into B, I would like cell D4 in A to always display the contents of D2 regardless of the number of rows i insert at that point. Can anyone help me? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reference Cell Color From Other WorkSheets | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Flexible Cell Reference | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel |