+ Reply to Thread
Results 1 to 3 of 3

How to delete entire row of data, by type of text?

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    2

    How to delete entire row of data, by type of text?

    Not sure if I phrased the subject of this post right.

    But, I have an excel spreadsheet and the last row of fields contains a list of email addresses in one of the columns.

    There are some email addresses that are bad, an I need to find a way where I can delete an entire field of data. Right now, I have been manually deleting the entire row of data, if the email in the email field is no longer valid. But I have over 5000 columns of data, and it takes a long time.

    Is there a way where I can just plugin a list of emails that are not valid, and have that entire row of data deleted, if that row has that email address?

    I hope that makes sense
    Last edited by allustrious; 11-09-2012 at 10:29 AM.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: How to delete entire row of data, by type of text?

    Many ways to resolve this.

    Type in your list of invalid emails. Lets say it is in J1:J5.
    Create a helper column that has this type of equation (I'll assume your list of emails is A1:A1000) in cell B1: =MATCH(A1,$J$1:$J$5,0)
    Drag that equation down to B1000
    Now sort that table using column B
    Now, everything with an #N/A error is legit, so do a block delete on the rows that have a number in column B
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How to delete entire row of data, by type of text?

    Great, I will give that a try

+ 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