Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default Delete without losing references?

I have a list of characters down one column on Sheet 1, Col. C; on Sheet 2,
Col. AA, those characters are part of a longer string - or should be. I
need to identify and delete the longer strings that do not contain the
matching character strings. I have two formulas in adjacent columns:



=(LEFT(RIGHT(AA2,14),10))

returns the characters from the longer string that should match the column
on the first sheet and shows them on Sheet 2, Col. AL.



=IF(Sheet1!C2=AL2,"","OFF")

compares the list returned from the first formula above to the list of
characters on the first sheet. If they do not match, indicating the long
string does not contain the short string, it shows "OFF" in Sheet 2, Col.
AM.



All this works - until I delete the longer string! Then the formula in AL
loses its reference; if I delete that, then AM loses *its* reference! Right
now, I have to delete the offending string and reinsert the formulas after
every deletion.



How can I get around this?



Ed


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 280
Default Delete without losing references?

How about copying the strings that satisfy the criteria into a third
worksheet? Use something like this on the third sheet.

=IF(Sheet1!C2=AL2,Sheet2!AA2,"")

Then replace the sheet you would have deleted the strings from with the
third.

Bob Kilmer

"Ed" wrote in message
...
I have a list of characters down one column on Sheet 1, Col. C; on Sheet

2,
Col. AA, those characters are part of a longer string - or should be. I
need to identify and delete the longer strings that do not contain the
matching character strings. I have two formulas in adjacent columns:



=(LEFT(RIGHT(AA2,14),10))

returns the characters from the longer string that should match the column
on the first sheet and shows them on Sheet 2, Col. AL.



=IF(Sheet1!C2=AL2,"","OFF")

compares the list returned from the first formula above to the list of
characters on the first sheet. If they do not match, indicating the long
string does not contain the short string, it shows "OFF" in Sheet 2, Col.
AM.



All this works - until I delete the longer string! Then the formula in AL
loses its reference; if I delete that, then AM loses *its* reference!

Right
now, I have to delete the offending string and reinsert the formulas after
every deletion.



How can I get around this?



Ed




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default Delete without losing references?

Thanks, Bob. I didn't think of doing things that way, but it makes a lot
more sense.

Ed


"Bob Kilmer" wrote in message
...
How about copying the strings that satisfy the criteria into a third
worksheet? Use something like this on the third sheet.

=IF(Sheet1!C2=AL2,Sheet2!AA2,"")

Then replace the sheet you would have deleted the strings from with the
third.

Bob Kilmer

"Ed" wrote in message
...
I have a list of characters down one column on Sheet 1, Col. C; on Sheet

2,
Col. AA, those characters are part of a longer string - or should be. I
need to identify and delete the longer strings that do not contain the
matching character strings. I have two formulas in adjacent columns:



=(LEFT(RIGHT(AA2,14),10))

returns the characters from the longer string that should match the

column
on the first sheet and shows them on Sheet 2, Col. AL.



=IF(Sheet1!C2=AL2,"","OFF")

compares the list returned from the first formula above to the list of
characters on the first sheet. If they do not match, indicating the

long
string does not contain the short string, it shows "OFF" in Sheet 2,

Col.
AM.



All this works - until I delete the longer string! Then the formula in

AL
loses its reference; if I delete that, then AM loses *its* reference!

Right
now, I have to delete the offending string and reinsert the formulas

after
every deletion.



How can I get around this?



Ed






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
Losing formula references to other sheets - HELP! Robert_L_Ross Excel Worksheet Functions 0 November 24th 08 05:06 PM
How to convert all 3d references to normal references in a workboo Dima Excel Discussion (Misc queries) 6 August 8th 08 12:38 PM
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
How to rename references from range names to cell references Abbas Excel Discussion (Misc queries) 1 May 24th 06 06:18 PM
How do I ignore blanks within my list without losing references? sessc Excel Discussion (Misc queries) 2 July 29th 05 02:53 PM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"