+ Reply to Thread
Results 1 to 4 of 4

Find 'x' word in data set > clear contents from row containing 'x' & all below

  1. #1
    Registered User
    Join Date
    11-03-2014
    Location
    Ireland
    MS-Off Ver
    2016
    Posts
    43

    Find 'x' word in data set > clear contents from row containing 'x' & all below

    Hello Excel and VB gurus,

    I would like to request your help with and Excel macro I am attempting to create to save me some time/remove human error.

    I regularly extract a large data set, usually between 50,000 to 200,000 rows of data across 11 columns (A:K). The problem is, the data usually comes with a 'summary' section also that I would like to delete entirely as it is simply a shorter duplication of what I have already pulled.

    So in column A, the word Summary will mark the beginning of this summary and my goal is to have a macro prepped that locates the word Summary and then clears the contents of the row the word exists in and all rows below that - thus enabling me to simply click anywhere in the sheet and CTRL+A & CTRL+C to copy the remaining data without worry of unwanted data that will mess up the calculations the data will be used in.

    May I request help in how to build such a piece of code?

    Any help at all would be very much appreciated.

    Kindest regards,
    KW

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,079

    Re: Find 'x' word in data set > clear contents from row containing 'x' & all below

    How about
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-03-2014
    Location
    Ireland
    MS-Off Ver
    2016
    Posts
    43

    Re: Find 'x' word in data set > clear contents from row containing 'x' & all below

    Quote Originally Posted by Fluff13 View Post
    How about
    Please Login or Register  to view this content.
    Boom, that does it!

    Many thanks, Fluff! Much gratitude

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,079

    Re: Find 'x' word in data set > clear contents from row containing 'x' & all below

    You're welcome & thanks for the feedback

+ 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] Clear contents of every second row from filtered data
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2017, 06:59 AM
  2. Find and clear contents
    By kprabhupaul in forum Excel General
    Replies: 1
    Last Post: 02-11-2017, 04:08 AM
  3. [SOLVED] Find string and clear cell contents to the right
    By Johnatha in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-11-2016, 03:23 PM
  4. VBA to clear contents of the cell in a column of data in a cell starts with specific word.
    By winmaxservices1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2015, 08:25 AM
  5. [SOLVED] Clear contents of last column with data
    By avanir151 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2014, 03:45 PM
  6. Replies: 6
    Last Post: 01-24-2014, 08:44 PM
  7. Delete rows or Clear contents below a specific word is found in Column A
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2012, 04:08 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