+ Reply to Thread
Results 1 to 5 of 5

Using the Custom Filter Function in Excel

  1. #1
    Registered User
    Join Date
    12-13-2009
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    17

    Question Using the Custom Filter Function in Excel

    I am trying to use the AutoFilter/Custom function in Excel (it is available under the Data Menu). It offers me two conditions/criteria that I can apply using and/or. For eg:

    Filter:

    does not begin with - 3

    and / or

    does not begin with - 9.

    I want to add a third 'and' criteria .. is it possible, and if so, how?

    The column that I am trying to filter has numbers formatted as text.
    Attached Files Attached Files

  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: Using the Custom Filter Function in Excel

    your example doesn't have anything that has -3 or -9 in it! ,(or just 3,9 not sure if you meant to include -)
    just 3 columns
    with dates col I
    times col J
    an some values in col K
    Last edited by martindwilson; 02-03-2010 at 08:13 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

  3. #3
    Registered User
    Join Date
    12-13-2009
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Using the Custom Filter Function in Excel

    The sheet was only a sample, I wanted a general answer to the question.

    On this particular sheet I am trying to use it on column J, which inlcudes time stated as a text value. I want to exclude/filter all cells.rows that have the time value beginning with 3, 9, 4.

    I hope this will clarify the question.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Using the Custom Filter Function in Excel

    One way would be to add a helper column.
    Use a formula to flag the rows requried.

    In column L use, and then filter L on #N/A
    =VLOOKUP(LEFT(TRIM(J2),1),{"1";"4";"9"},1,FALSE)
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    12-13-2009
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Using the Custom Filter Function in Excel

    Thank you Andy. I should be able to work with that.

+ 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