![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
I have data on sheet1 linked to sheet2. I need to keep links constant whenever a blank row needs to be inserted. I've tried $A$4, and I've tried naming the cells. What I need is to keep a link on two rows no matter how many lines are inserted.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Portland, OR USA
Posts: 1,374
|
Quote:
For example, =INDIRECT("Sheet1!B2") Will always refer to cell B2 on Sheet1, no matter where you insert/delete rows. But be careful, because it will also always refer to Sheet1, even if you rename Sheet1 (you will get an error - #REF!). Does this help? -Russell |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
Thank-you very much, this is exactly what I was trying to do!
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Jun 2009
Location: Sydney, ex Johannesburg
Posts: 54
|
Hi Russell
I had the same problem, so I also used =INDIRECT("Sheet1!B2"). However, when I try to copy the formula down the rows, the value of B2 doesn’t increase. ie I want =INDIRECT("Sheet1!B2") to change to =INDIRECT("Sheet1!B3"), B4 etc How do I do this? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|