+ Reply to Thread
Results 1 to 6 of 6

deleting rows based on cell value

  1. #1
    Registered User
    Join Date
    11-19-2006
    Posts
    26

    deleting rows based on cell value

    I have 1 column of data. I would like to loop through the column, say the first 1000 rows, and delete all entries that begin with a certain value. So, for example, I would like to delete all rows within the column whose value begins with "G56" or "G57". I would also like to delete any empty rows. I am currently using auto-filter to do this but am looking for a method that is less time-consuming as the data set can get quite large.
    Any help would be appreciated.

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    What do you mean by a value of G56 or G57 ...???

    Carim

  3. #3
    Registered User
    Join Date
    11-19-2006
    Posts
    26
    If I have a column such as:

    g56-17

    g41-18
    g57-19
    g52-17
    g57-200
    g48-21

    I would like to delete the rows for each entry that begins with G56 or G57 as well as delete any blank rows in between, over a defined range.

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Ok then ...

    Please Login or Register  to view this content.
    HTH
    Carim

  5. #5
    Registered User
    Join Date
    11-19-2006
    Posts
    26
    Thank you. Works great!

  6. #6
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Glad it fixed your problem.

    Thanks for the feedback

    Carim

+ 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