+ Reply to Thread
Results 1 to 5 of 5

Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

  1. #1
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

    I wants to delete all entire rows in which column A cell value do not starts with number "1" or "2".


    - Abhinav
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,496

    Re: Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

    If you can sort it, delete all below the values in question.

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

    I think this will do what you want.
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

    I needs macro code for this.

  5. #5
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Delete All entire Rows in which Column A Cell value Not Starts with 1 or 2

    Quote Originally Posted by mikerickson View Post
    I think this will do what you want.
    Please Login or Register  to view this content.
    It worked. Thank you so much. SOLVED.

+ 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. [SOLVED] Delete entire rows if cells in column D contain TX
    By oneyejack77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2017, 03:12 PM
  2. Macro to delete entire rows if column d equals 2925-6 & abc
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2015, 07:50 AM
  3. Replies: 4
    Last Post: 10-12-2014, 08:54 AM
  4. [SOLVED] Delete entire Rows if Column value is unique OR Duplicate is less than three
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2014, 12:09 PM
  5. How to efficiently delete entire rows based on duplicates in one column
    By HughManatee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2013, 06:53 PM
  6. Delete 10 rows when cell starts with 3 letters "COG"
    By jimstrongy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-12-2012, 06:28 PM
  7. [SOLVED] Delete entire rows where there is a blank in column A
    By Chris Hankin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-11-2006, 05:00 AM

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