+ Reply to Thread
Results 1 to 3 of 3

Filtering with Wildcards using Autofilter

  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Filtering with Wildcards using Autofilter

    Hi Forum,

    I have a column of part numbers and the ones that I am interested in have an asterisk/asteriks (i hate that word!) suffix. E.g. 9754-ME-099*

    I can use Find to locate them by using wildcards such as *~*~.

    I would like to be able to filter for these numbers but when I use autofilter and Contains *~*~ it doesn't find anything. It just returns an empty column.

    How would I filter for numbers ending in * ?

    Thanks very much

    Dave

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Filtering with Wildcards using Autofilter

    I think the only way you can do this is to use a helper column with the FIND function, which doesn't accept wildcard characters, in it and then Autofilter on that.

    Something like this:

    =IF(ISNUMBER(FIND("*",A2)),"Asterisk","")

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Filtering with Wildcards using Autofilter

    Use Advanced Filter with "*~*" in criteria, see attachment (or Autofilter with "Contains >> *~* )
    Attached Files Attached Files
    Last edited by WHER; 03-16-2012 at 07:37 AM.

+ 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