+ Reply to Thread
Results 1 to 6 of 6

Finding Matches in an Excel DATABASE

  1. #1
    Registered User
    Join Date
    07-17-2017
    Location
    São Paulo
    MS-Off Ver
    2017
    Posts
    3

    Question Finding Matches in an Excel DATABASE

    Greetings everyone!


    I have a homeric doubt, for some time now I have tried to develop a code that makes the following commands:

    1. Search within a column for all the cells that contain the word I search for. For example:

    I look for "Matrix" in a range of cells, the macro can return me in a drop down list: "Enterprise Matrix Energetica"; "Matrix Collections"; "Parent Power Matrix" and any other cell that has "Matrix" in it.


    2. After finding the possible results, return the values ​​in a dropdown list, messagebox or something like that.


    3. After I choose the name I want from the base, pull the respective data of that company in the columns. (This part is easy, I dont really need help on it. I'm having trouble most on part 1).


    I tried via VLOOKUP, but the command does not return incomplete and / or approximate values. For example: If I search via "Matrix" the VLOOKUP will not return "Energetic Matrix Enterprise".


    Does anyone have a tip here?


    Have a good week!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Finding Matches in an Excel DATABASE

    Did you tried looking with joker signs?

    you can try using e.g. *matrix*
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    07-17-2017
    Location
    São Paulo
    MS-Off Ver
    2017
    Posts
    3

    Re: Finding Matches in an Excel DATABASE

    Hello oeldere!

    I did not understand what's the meaning of "joker signs", pardon my lack of good english!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Finding Matches in an Excel DATABASE

    Oeldere means wild card characters, like * - *matrix*.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Finding Matches in an Excel DATABASE

    With the F1 in excel I find this (translated text)

    English

    "You can use the wildcard question mark (?) And asterisk (*) in criteria. A question mark replaces any character and an asterisk replaces any string. If you really want to search a question mark or an asterisk, you must type a tilde (~) for that character."





    português

    "Você pode usar o caractere ponto de interrogação (?) E asterisco (*) nos critérios. Um ponto de interrogação substitui qualquer personagem e um asterisco substitui qualquer string. Se você realmente quer para procurar um ponto de interrogação ou um asterisco, você deve digitar um til (~) Para esse personagem."

  6. #6
    Registered User
    Join Date
    07-17-2017
    Location
    São Paulo
    MS-Off Ver
    2017
    Posts
    3

    Re: Finding Matches in an Excel DATABASE

    Hello guys,

    I tried taking some screenshots to explain my doubt:

    1. Theres a place where i'll type the world i want to look for:
    ex1.PNG

    2. I'll type the world "Matrix", for example.
    ex2.PNG

    3.Somehow all the possible matches for "Matrix" will appear in a dropdown list or something else.
    ex3.PNG

    4. The 2 results for the name I chose will appear.
    ex4.PNG

    Someone has any idea how can I do something like that?

+ 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. Excel database - Finding Partial text though search tool
    By Cont-Kevin in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-15-2017, 09:56 AM
  2. From Excel, search Access database and return all matches to a variable value
    By bemidjipatriot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-23-2017, 11:54 AM
  3. Replies: 14
    Last Post: 02-03-2016, 09:20 PM
  4. Finding a way of moving data from one database to another using excel formula?
    By hooperman333 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-25-2014, 10:45 AM
  5. Replies: 3
    Last Post: 01-19-2014, 12:27 PM
  6. Need help with finding matches
    By bittersweets in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-15-2013, 05:25 AM
  7. Finding matches
    By Tziggy in forum Excel General
    Replies: 5
    Last Post: 12-09-2008, 02:01 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