+ Reply to Thread
Results 1 to 6 of 6

Quasi 'tag' function with AutoFilter

  1. #1
    Registered User
    Join Date
    01-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Multiple
    Posts
    3

    Quasi 'tag' function with AutoFilter

    Hello,

    I'd like to 'tag' cells in Excel so that I can autofilter better. I can do this with manually filtering using 'contains' but this is very limited.

    Is there a way to do this?

    Thanks in advance.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Quasi 'tag' function with AutoFilter

    Put a formula in a helper column that yields a TRUE/FALSE and then filter by that column... you can have many combined tests this way.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Multiple
    Posts
    3

    Re: Quasi 'tag' function with AutoFilter

    NBVC,

    Thanks.

    Hmm... And, if the helper columns can use a search formula to see if a string is included instead of manually requiring a flag, this might go much faster.

    I tried:

    =if(search("string",Q53,1)<>1,false,true)

    This works, but leaves a VALUE#! ERROR when false. Do you know how to account for this without showing the VALUE#!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Quasi 'tag' function with AutoFilter

    Are you wanting to check if the string "string" is anywhere in cell Q53 or are you wanting to see if Q53 begins with "string".

    For the former:

    =Isnumber(Search("string",Q53))

    For the latter:

    =Left(Q53,Len("string"))="string" or Left(Q53,5)="string" (if you want to hard code it).

  5. #5
    Registered User
    Join Date
    01-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Multiple
    Posts
    3

    Re: Quasi 'tag' function with AutoFilter

    NBVC,

    Awesome...

    The former. I needed that function (isnumber) but didn't know it existed. That's perfect. This will do nicely, I think. Thanks!

    Dan

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Quasi 'tag' function with AutoFilter

    No problem...

+ 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