+ Reply to Thread
Results 1 to 5 of 5

Advanced Filter for Partial Text

  1. #1
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    115

    Advanced Filter for Partial Text

    Hey guys/gals,

    I'm wondering if this is possible...

    I want to extract multiple records from a list based on PARTIAL text.

    For example, let's call this column A:

    brown paper bags
    light brown socks
    brown suede shoes
    blue sweaters
    blue jeans
    black sweater vest
    red blouse

    I would like to extract any phrase containing brown or sweater to the same sheet or different sheet.

    If it works correctly, I would end up with:

    brown paper bags
    light brown socks
    brown suede shoes
    blue sweaters
    black sweater

    I'm thinking this could be done with Advanced Filter but not sure if can find partial text/position within string?

    Any ideas? Also.. I would like to be able to use 10 or more words to extract the phrases if possible.

    Thanks in advanced!
    Last edited by newbieexceldude; 12-21-2011 at 01:07 AM.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Advanced Filter for Partial Text

    maybe so
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    115

    Re: Advanced Filter for Partial Text

    Thanks Nilem,

    I appreciate your time and effort.

    The macro worked perfectly for the example that I gave you. Unfortunately, it was not accurate when I used different data. I had 650 unique phrases in Column A and tried to extract records based on 5 different words.

    Thanks for trying though.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Advanced Filter for Partial Text

    advanced filter will do it use wild card * in your criteria, heres yours filtered and copied to sheet 2
    Attached Files Attached Files
    Last edited by martindwilson; 12-17-2011 at 06:54 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    115

    Re: Advanced Filter for Partial Text

    Thanks Martin,

    The wildcard + filter is almost what I was looking for. I'd like to do it with a macro, but this works for now.

    Thanks for your help!

+ 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