+ Reply to Thread
Results 1 to 1 of 1

Adapting macro to filter rows based on "contains" logic with checkboxes

  1. #1
    Registered User
    Join Date
    07-09-2019
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    3

    Question Adapting macro to filter rows based on "contains" logic with checkboxes

    Hi all,

    I've never found a great way to do tagging functionality in Excel. What I usually do is create a comma delimited list, and then search in filter on the tag I want to find rows for. However, I'm now creating a company-wide document and would like to leverage checkboxes to filter rows in the same way, as I think it's more user friendly for those less comfortable using Excel.

    In some forum I found the attached macro, but I can't understand it well enough to see how to update it to work with my example sheet (also attached). Can someone help me out?

    Note that because it's a comma-delimited list, the macro filtering logic would need to be updated to "contains" (just like the Filter search uses) instead of equals. For example, the row with tags "trends, statistics, thought leadership" and the row with tags "statistics, web performance" should both be returned when I check the box for "statistics" as a tag. If I were to check both "statistics" and "web performance" checkboxes, of course only the latter row should still appear.

    Thanks!
    Attached Files Attached Files

+ 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. Formula to add a "yes" or "no" based on checkboxes being selected?
    By Gootz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-30-2017, 12:44 PM
  2. Replies: 1
    Last Post: 01-22-2016, 09:21 AM
  3. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  4. [SOLVED] How to build a macro to filter out "#NA" rows from a table
    By debbiemccann in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2013, 08:46 PM
  5. [SOLVED] Splitting a Cell based on "/" and adding new Rows based on Part Number Logic
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-30-2013, 10:11 AM
  6. Defining logic "Yes" or "No" , based on multiple conditions
    By pyol17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 02:41 AM
  7. Filter two columns with "or" logic
    By gsnidow in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2010, 02:47 AM

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