+ Reply to Thread
Results 1 to 6 of 6

Extract Rows based on Key Words

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Los Angeles
    MS-Off Ver
    2012
    Posts
    3

    Extract Rows based on Key Words

    I have a worksheet with over 200k rows of data. Column A has 3rd party vendor names (text) with no vendor codes. The other columns are spend data and dates.

    I would like to categorize all similar companies by the vendor name. For example:
    column A entries:
    Law Group ABC
    XYZ Systems
    A & A Lawyers

    I want to develop something that runs through column A and pulls all entries with the word "Law" in it. Ideally, the entire row of data will move to a bucket where all law spend will aggregate. I would like to run multiple key word searches on the same data in order to extract all law spend (for example include the word "attorney" and "legal").

    Any recommendations on the easiest way to perform these key word extractions on a repeatable basis? The function will be performed on 2-3 similar data sets.

    Thank you,

    Brent

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Extract Rows based on Key Words

    Add a sheet named Law and try this
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor
    Join Date
    10-31-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    145

    Re: Extract Rows based on Key Words

    Brent,

    I have messed with an example sheet. Check it out and let me know if that is what you were looking for.


    Simeon
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-12-2012
    Location
    Los Angeles
    MS-Off Ver
    2012
    Posts
    3

    Re: Extract Rows based on Key Words

    Simeon,

    This is very close. The only issue with this model is that if I search multiple key words, the new search replaces the results from the previous search. Is there a way to add results rather than putting everything that was found on row 4?

    Thank you for your help.

  5. #5
    Registered User
    Join Date
    11-12-2012
    Location
    Los Angeles
    MS-Off Ver
    2012
    Posts
    3

    Re: Extract Rows based on Key Words

    Patel,

    I am working through this solution today. The concept makes sense to me but I am working through a couple complexities. I will give you an update later today.

    Thank you,

    Brent

  6. #6
    Forum Contributor
    Join Date
    10-31-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    145

    Re: Extract Rows based on Key Words

    Brent,

    Let me do a little more tinkering and get back to you.

    Simeon

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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