PC Review


Reply
Thread Tools Rate Thread

Deleting Row

 
 
BMP
Guest
Posts: n/a
 
      18th Apr 2010
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 With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      19th Apr 2010
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors deleting email: Unknown error and very slow deleting messag Keith Rainey Microsoft Outlook Discussion 0 29th Apr 2010 03:53 AM
Deleting task without deleting e-mail; message views ideaman Microsoft Outlook Discussion 1 30th Sep 2009 03:34 AM
Deleting email in Outlook 2007 not deleting on Blackberry 8830 wir Jennifer L. Microsoft Outlook Discussion 0 17th Mar 2008 02:29 AM
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content rmaloy Microsoft Excel Programming 5 9th Feb 2004 01:59 AM
Deleting or Manually Deleting Programs from the Add/Uninstall Program list Amy Bejm Windows XP Basics 3 21st Dec 2003 06:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:26 PM.