+ Reply to Thread
Results 1 to 3 of 3

Partial Match Search Results on User Form

  1. #1
    Registered User
    Join Date
    11-04-2020
    Location
    england
    MS-Off Ver
    2019
    Posts
    7

    Partial Match Search Results on User Form

    Hi,

    I have a user form that searches my data by different criteria depending what you are looking for which works perfectly except I would like the "Location" to also return partial matches.

    My code filters the table by: CriteriaRange:=Range("FilterCriteria"). FilterCriteria is a dynamic list that doesn't always have the same values however I would like it to partial match the values in "FilterCriteria" specifically just the the Location column (On the workings sheet), Is this possible?

    The reason Id like to do this is because if you look at my fake data in the location column you'll see "Cumbria Bristol". It should work so that if I search my data by the location "Bristol" they also appear but currently they don't. Eventually this would be expanded so there could be 50 locations listed in a single cell (Which my Input Data form has been adapted to add all the locations)

    Thank You
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Partial Match Search Results on User Form

    Add asterisk at both ends for the criteria that you want. eg
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-04-2020
    Location
    england
    MS-Off Ver
    2019
    Posts
    7

    Re: Partial Match Search Results on User Form

    Worked perfectly, Thank You!

+ 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] Index match 2 items returning multiple results & search for partial text
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2020, 01:45 PM
  2. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  3. [SOLVED] How to better search with MATCH function in user form?
    By GIS2013 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-29-2013, 08:51 PM
  4. [SOLVED] How to have a partial match on form?
    By jgomez in forum Access Tables & Databases
    Replies: 2
    Last Post: 06-05-2013, 05:19 PM
  5. [SOLVED] User Form to execute search and return all values to the user form for editing
    By allwrighty in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-11-2013, 10:40 PM
  6. [SOLVED] Search for a partial string match and cycle through matching results
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2013, 08:27 AM
  7. User Form to Search multiple Criteria to return multiple Results
    By Calieth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2011, 11:57 AM

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