#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Deleting Row

In sheet: A,
instead of using this simple link formula in say B2: =B!A1,
then copying B2 across/filling down to cover the desired source area in B to
be linked

use this in B2:
=OFFSET(INDIRECT("'B'!A1"),ROWS($1:1)-1,COLUMNS($A:A)-1)
It returns the same link functionality, can be copied across/filled down,
BUT it will always point to the "fixed" source area linked in B, resistant to
deletions of rows in the source sheet. Try it out and prove to yourself that
it works exactly as you seek here. Inspiring? hit the YES below
--
Max
Singapore
---
"BMP" wrote:
I am using two worksheets (in the same file), each containing a vertical list
of names. Worksheet B pulls a list of these names from from Worksheet A
using "=worksheetA!cell# At times I must delete a row containing a name from
Worksheet A. I thought this would delete the data in Worksheet B and move
up all the new data in Worksheet A into Worksheet B since I deleted a row and
all the names below this row moved up to a new cell location. I have also
used the "$" function in my formula, but no luck...........as everytime I
delete a row in Worksheet A, the copied cell from A that is in B changes to
#REF. It seems that Worksheet B is not recognizing that all the data in A
has moved up one row (via the deleted row).

Any suggestions ?

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
Deleting Every Other Row Chris Excel Discussion (Misc queries) 1 June 15th 09 10:28 PM
Deleting the text without deleting the formula gems04 Excel Worksheet Functions 3 January 30th 09 11:21 PM
Deleting cell data without deleting formula Tom Hall Excel Discussion (Misc queries) 4 October 29th 06 04:07 PM
deleting values in a worksheet without deleting the formulas patti Excel Worksheet Functions 1 October 28th 05 09:49 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM


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