+ Reply to Thread
Results 1 to 4 of 4

Deleting rows without effecting array formula

  1. #1
    Registered User
    Join Date
    01-20-2016
    Location
    288
    MS-Off Ver
    2016
    Posts
    29

    Deleting rows without effecting array formula

    In this sheet, i've set it up to filter against negative keywords. As i go through and eliminate names with certain keywords, i delete the row. What it ends up doing is screwing up the cell reference part of the array.

    Is there a way to make this not happen?

    I use the sheet on a daily basis. Since the cell references get jacked up, it stops picking up keywords it should, as i delete cells.

    I'm trying to eliminate the rows, so as i widdle it down, the time to process gets quicker. Make sense?

    I've thought about color coding the cells i've already put eyes on, but it wouldn't solve the time issue.

    Hope someone can help.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Deleting rows without effecting array formula

    It should be okay as long as you don't delete the first or last row of the range in the array formulae (though it does depend on the actual formula - if you are using INDIRECT, for example, then the range references won't change as they are text values). Perhaps you can change the ranges in your array formulae so that they begin at the row before the first row of data, and end on the row after the last row of data.

    Hope this helps.

    Pete

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Deleting rows without effecting array formula

    Post the formula.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    01-20-2016
    Location
    288
    MS-Off Ver
    2016
    Posts
    29

    Re: Deleting rows without effecting array formula

    =SUM((TRIM(MID(SUBSTITUTE(" "&'Newest Version'!$A2," ",REPT(" ",100)),100*ROW(INDIRECT("1:"&LEN('Newest Version'!$A2))),100))=filter!$A$1:$CV$1)*1)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how do I toggle multiple rows on and off without effecting rows I've already turned off
    By showetheway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2012, 07:54 PM
  2. Deleting rows in an array that do not satify criterium
    By sungsam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2011, 06:21 AM
  3. Replies: 5
    Last Post: 06-21-2011, 06:17 AM
  4. INserting rows without effecting the macro
    By Libster78 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-16-2010, 05:56 AM
  5. Autofilter effecting formula integrity
    By warreng in forum Excel General
    Replies: 2
    Last Post: 06-07-2010, 07:53 PM
  6. Applying formula without effecting header
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2010, 06:06 PM
  7. How to change cell width w/o effecting other rows
    By tqdinh22 in forum Excel General
    Replies: 1
    Last Post: 07-19-2006, 02:16 PM
  8. [SOLVED] How do I change a number in a cell without effecting the formula?
    By Celeste in forum Excel General
    Replies: 2
    Last Post: 10-22-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1