+ Reply to Thread
Results 1 to 2 of 2

Help With formulas to delete entire row if text contains a word

  1. #1
    Registered User
    Join Date
    12-04-2014
    Location
    New York
    MS-Off Ver
    MS Office 7
    Posts
    1

    Help With formulas to delete entire row if text contains a word

    Hey there,

    I am trying to clean up some data, and would appreciate help to make it go quicker. The following is an idea of what I am trying to do:

    1) if (columnA1:A1000 begins with "Total", delete entire row)

    2) if(in Entire workbook rows B:D are empty, (then) delete entire row)

    3) if (columnA1:1000 is blank fill with text in previous filled cell)
    - This one is slightly more complicated, I am trying to populate any empty cells in column A with the text from any previous cell that contains text.
    - E.g. Filling left column to look like right column.
    Capture.JPG


    Any would help would be greatly appreciated. Thanks you!
    Last edited by copal; 12-04-2014 at 12:29 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Help With formulas to delete entire row if text contains a word

    Numbers 1 and 2 most likely require VBA. Number 3 can be easily accomplished. I'm assuming A1 contains "Help" and A2 and A3 are blank, etc.

    1. Highlight Column A.
    2. Hit ctrl+G and click on 'Special'.
    3. Select 'Blanks' and click OK. Now all the blank cells in Column A should be highlighted.
    4. Click on the formula bar and type =A1
    5. Then hit ctrl+enter. NOT just enter alone. This will fill in all the blank cells.

    You can copy and paste values if you'd like to remove the formulas.

+ 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] If Or statement to check cell text and delete entire row if text is found
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2013, 11:46 AM
  2. need to single out text in row A and delete entire row if text is present
    By pomerann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2013, 03:51 PM
  3. Replies: 10
    Last Post: 10-24-2012, 04:02 AM
  4. delete Entire Row if specified word exist
    By contaminated in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2009, 04:41 AM
  5. How do I replace the last entire word in text cells?
    By George in forum Excel General
    Replies: 7
    Last Post: 12-15-2005, 05:35 PM

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