+ Reply to Thread
Results 1 to 7 of 7

Custom Filter

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Custom Filter

    Greetings all !! good day

    I need your expertise help with the attached sheet. Column A has a list of emails, and I need way to custom filter the column to cells which only contains 'special characters except '.' i.e 'gmail,.com, also, cells which contains spaces in domain i.e. 'g mail.com'

    Please help
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Custom Filter

    Make a helper column, say col. B and then use the following Array Formula (which requires confirmation with Ctrl+Shift+Enter instead of Enter alone).

    In B2
    Please Login or Register  to view this content.
    This will give you 0's and 1's in the helper column, not apply the filter to show only 1 in col. B.

    For details refer to the attached file.


    ********************************
    Remember that an Array Formula is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Custom Filter

    Thanks a ton Sktneer !!! cheers

    This works exactly the way I wanted. Also, is their a way we can extend the filter to accommodate space in any part of the email as well?

    Await your expert response ! tx

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Custom Filter

    Ideally a domain name doesn't contain a space in it. So you may add another logical test within the OR to see if there is a space in the domain name.
    Change the previous formula with the following one.......

    Please Login or Register  to view this content.
    If that takes care of your original question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Attached Files Attached Files

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Custom Filter

    While taking a space into consideration, the above suggested lengthy formula can be replace by a very simple formula like below (not an array formula)

    Please Login or Register  to view this content.
    So no need of the previous formula. You can refer the attached workbook for newly added helper column and filter the new helper column for 1.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Custom Filter

    thanks once again.. that works like a charm... it made my day.....

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Custom Filter

    You're welcome Dinesh! Glad I could help.

+ 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. define custom filter and filter between TO and FROM values
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2015, 12:14 PM
  2. Custom Filter
    By Midnight251 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2014, 04:44 AM
  3. Replies: 3
    Last Post: 09-07-2009, 06:28 AM
  4. Custom Filter help
    By sulavsingh6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2009, 03:18 PM
  5. Custom Filter?
    By BUSJEDWA in forum Excel General
    Replies: 0
    Last Post: 06-02-2008, 06:17 PM
  6. Custom Filter
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-16-2006, 08:40 AM
  7. [SOLVED] Custom Filter using more than two 'OR'
    By GLT in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2006, 02:25 PM

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