+ Reply to Thread
Results 1 to 8 of 8

Filter columns with a checkbox

  1. #1
    Registered User
    Join Date
    08-28-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Filter columns with a checkbox

    Can anyone provide help on this one?

    I have one page that lists horizontally multiple projects. In column A I list vertically several tasks that may, or may not apply to any given project, but I need to quickly sort the column for the project to exclude the n/a items. (See images below)

    How can I use a checkbox or button on each column to quickly filter out cells that are marked n/a for that column?

    Excel Document template HERE: Book1.xlsx

    2019-08-28_21-24-40.png

    2019-08-28_21-23-49.png
    Attached Images Attached Images
    Last edited by Wheelcruz; 08-28-2019 at 11:12 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Filter columns with a checkbox

    Please attach workbook instead of pictures if you want the problem is solved quickly.

  3. #3
    Registered User
    Join Date
    08-28-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Filter columns with a checkbox

    Just updated my original post. THANKS

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Filter columns with a checkbox

    Assign below macro for each of all checkboxes.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-28-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Filter columns with a checkbox

    This is excellent. Thank you much.

    What you have sorts by only showing "=N/A", how do I get that to say NOT EQUAL to "NA"?

    Also, is it possible that when I click a second checkbox, that it automatically uncheck the first? This way only one checkbox can be selected at a time.

    THANKS!
    Last edited by Wheelcruz; 08-29-2019 at 08:44 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Filter columns with a checkbox

    With below code, when you click on a checkbox, other checkboxs will be uncheck. It mean only one column is filtered at a time.
    If you want to filter with criteria is NOT EQUAL to "NA", please change "=N/A" to "<>N/A"
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-28-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Filter columns with a checkbox

    This was perfect, thank you much. Is it possible to filter more that one item than <>N/A ?

  8. #8
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Filter columns with a checkbox

    Like when you filter normally, you can filter by a list of exactly items, one criteria or two criterias combined by AND or OR.

+ 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. [SOLVED] Checkbox Filter on more than one Column
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-15-2019, 09:16 AM
  2. Use Checkbox and Combobox as filter
    By charleswang in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-06-2015, 08:31 PM
  3. checkbox to filter columns with a specified value
    By Rupesh.Sharma in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2014, 09:18 AM
  4. [SOLVED] checkbox to filter columns with specific value
    By Rupesh.Sharma in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2014, 12:51 AM
  5. Replies: 0
    Last Post: 04-07-2014, 12:22 PM
  6. Filter by Checkbox
    By robbiekh in forum Excel General
    Replies: 2
    Last Post: 11-04-2013, 03:17 PM
  7. Checkbox With Filter Problem
    By jackgan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2013, 04: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