+ Reply to Thread
Results 1 to 6 of 6

Advance Filter help

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    56

    Advance Filter help

    Hi All,

    thanks for taking the time to read and helping me out with this. I have a report that i need to filter column L by 3 criterias. These are all "does not contain
    I need to exclude the ones that contact
    "RTN"
    "MAIL RETURN"
    "PO BOX"

    it get trickier. for example the "RTN" can be next to an address such as " 123 yonge street - RTN" or "123 Yonge street - Mail Return" or "PO BOX 123"

    what is the best way to exclude these from my report.

    Thanks,

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Advance Filter help

    can you upload an example sheet?

    You can use *RTN* in the text filter. That will find it within the value.

    But, if you need 3 text strings to be filtered i'm pretty sure you will need to add a column to create another flag. I can only add two values to the built in text filter.

    Upload, and it will be easy to show you what to do :D
    Last edited by GeneralDisarray; 07-16-2013 at 04:26 PM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Advance Filter help

    Insert a new column and assuming the second row is your first entry type:

    =OR(ISNUMBER(FIND("RTN",L2)),ISNUMBER(FIND("PO BOX",L2)),ISNUMBER(FIND("MAIL RETURN",L2)))

    then drag down to populate the column. You can then apply a filter on this column for all values that are FALSE.

    Hope this helps

    EDIT: I'm not sure if this works in 2003, if not have a go at using the OR, ISNUMBER and FIND functions on their own to see what doesn't work and I will see if there is another way (is someone else doesn't have a better method)
    Last edited by Harribone; 07-16-2013 at 04:25 PM.
    Say thanks, click *

  4. #4
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Advance Filter help

    Works Perfect... Thanks a Million

  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Advance Filter help

    Can i also add critria to exclude any string that starts with a number

  6. #6
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Advance Filter help

    Incluse within the OR:

    ISNUMBER(VALUE(LEFT(L2,1)))

    ie. =OR(ISNUMBER(FIND("RTN",L2)),ISNUMBER(FIND("PO BOX",L2)),ISNUMBER(FIND("MAIL RETURN",L2)),ISNUMBER(VALUE(LEFT(L2,1))))

    as long as VALUE is compatible with 2003 you should be OK.

+ 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. Advance Filter
    By tt388 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-28-2008, 07:32 AM
  2. Advance Filter
    By betmck in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2007, 02:48 PM
  3. Advance Filter
    By Obi-Wan Kenobi in forum Excel General
    Replies: 3
    Last Post: 03-22-2006, 05:50 PM
  4. Advance filter search does not filter an exact match
    By cfiiland in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2005, 08:05 AM
  5. advance filter
    By DANmcc in forum Excel General
    Replies: 2
    Last Post: 04-20-2005, 06:06 PM

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