+ Reply to Thread
Results 1 to 4 of 4

Delete rows missing contents in AF then A

  1. #1
    Registered User
    Join Date
    05-02-2009
    Location
    New, New York
    MS-Off Ver
    Excel 2003
    Posts
    31

    Delete rows missing contents in AF then A

    Good day to you. here is what I am working on. If a row in Column AF does not say “Cust” than I want to delete it, next if a row in Column A does not say “Numb” I want to delete it. Here is what I am working with so far. If you can assist, thank you.

    Please Login or Register  to view this content.
    Last edited by EJensen; 07-23-2009 at 10:12 PM. Reason: SOLVED

  2. #2
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: Delete rows missing contents in AF then A

    Hi Ejensen,

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-02-2009
    Location
    New, New York
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Delete rows missing contents in AF then A

    Sorry I should have been more specific the rows do have other contents in them. Just not Cust or Numb, when that happens (the rows are missing Cust or Numb but have other contents in them) I want to delete the rows. If I was talking about blank rows though, this works awesome. Any thoughts? sorry for any confusion.

  4. #4
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: Delete rows missing contents in AF then A

    The code which I posted deletes all those rows that have any other value other than 'Cust' in Column AF and 'Numb' in Column A. It deletes all other values as well as blanks.

    I hope I have interpreted you correctly.. If not, please elaborate..

    Regards,
    Karan

+ 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