+ Reply to Thread
Results 1 to 2 of 2

Text Filter-Begin with... (multiple begin withs?)

  1. #1
    Registered User
    Join Date
    06-16-2010
    Location
    World
    MS-Off Ver
    Excel 2010
    Posts
    1

    Text Filter-Begin with... (multiple begin withs?)

    I have information in a column that follows the order of "### ABCDEFG ##". There are 7,000+ rows of this info. and I need to filter this by a set of the beginning three numbers, there are multiple entries of the beginning three numbers. I've tried doing a text filter with the 'begin with' option but that only works for one number at a time... I have a set of numbers that need to be shown. I know this has to be easy but I just can't find any instructions to do this. Thanks for the help!

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

    Re: Text Filter-Begin with... (multiple begin withs?)

    could you elaborate? but say you want to filter on begins with 123 and 345 and 456 and show all those at once then use advanced filter
    in a spare column put exactly the same as the header cell of the column you are wanting to filter
    so say you have a column and a1 is "sales"
    in say h1 put "sales" then in h2 put 123* in h3 345* in h4 456*
    now select the data you want to filter in this case A1 down to end
    then data/advanced filter
    action-filter the list in place
    list range say- $A$1:$A$100
    criteria range-$H1:$H$3
    click ok
    only rows starting 123 , 345 and 456 will pass through the filter
    for more explanation see here
    http://www.contextures.com/xladvfilter01.html
    alternatively if you want to filter on say 123 xxx and 345 yyy and 456 mmm
    but not 1234 aaaa or 3456 jjjjj or 4561 jjjjjj
    in a spare col again say h
    leave h1 blank (.this is important)
    then in h2 put =LEFT(A2,4)="123 " and in h3 put =LEFT(A2,4)="345 " and in h4
    =LEFT(A2,4)="456 " (note the space at the end") and again apply the filter using h1:h4 as criteria
    this will pas 3 digits ending in space and not 4 digits
    Last edited by martindwilson; 06-16-2010 at 07:03 PM.
    "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

+ 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