+ Reply to Thread
Results 1 to 4 of 4

Mass deletion of select records

Hybrid View

neilnet Mass deletion of select... 07-02-2011, 11:14 AM
Palmetto Re: Mass deletion of select... 07-02-2011, 11:49 AM
neilnet Re: Mass deletion of select... 07-04-2011, 02:49 PM
Palmetto Re: Mass deletion of select... 07-04-2011, 03:21 PM
  1. #1
    Registered User
    Join Date
    07-02-2011
    Location
    UK
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    2

    Mass deletion of select records

    Hello geniuses!

    I have two sheets.

    Sheet 1 contains 120k rows and 1 column of mixed text data of two types (we'll call them type A and type B)

    Sheet 2 contains 13k rows and 1 column of type B data.

    I want to delete all of the data in sheet 2 (i.e. B data) from Sheet 1, so that sheet 1 will just include type A data.

    Is this straightforward? I'm using Excel 2008 for Mac.

    Very many thanks!

    Best,
    Neil

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Mass deletion of select records

    In Sheet1, in the column of choice, you could use a simple countif function to determine if "B-data" has a matching value on sheet2, then filter this column and delete visible rows where a match was found.

    Example:
    In Sheet1, cell F1: =COUNTIF(Sheet2!$A$1:$A$13000,A1)>0

    The formula will return a true or false value. Filter on true values and delete the rows, then remove the filter.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    07-02-2011
    Location
    UK
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    2

    Re: Mass deletion of select records

    Thank you kindly!

    To further highlight my cluelessness can you tell me how I filter the true data?

    V. much appreciated!

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Mass deletion of select records

    I don't know what you mean by filter the true data. That is what the helper cells are for.
    Use the formula, select the helper column, apply auto filter to show only true values, delete all visible rows after applying the filter, then turn the filter off.

    Try this on a back up copy to make sure you get the results you want.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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