Free Search in Data List

beatdrfranck

New Member
Joined
Dec 15, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Currently I am preparing a new file, where I would like to add some information for an item (like item number etc.) out of a master sheet. T

herefore in the "Data Validation" I added the list of item names.

1702642907507.png


When I enter a value in the cell where the data validation is active it searches for the word (e.g. "hammer") and find several entries, but only the ones where the word start with "hammer" or where the "hammer" comes after a space.

1702642962490.png


But it doesn´t find the word Schlosserhammer, where the word "hammer" is part of the word. So I have to type in "schlosserhammer".

1702642815789.png


Is there any way to make the data validation search in the full word instead of just at the beginning or after a space?

Thanks in advance and best regards, Frank :)
 

Attachments

  • 1702642774239.png
    1702642774239.png
    8 KB · Views: 3
VBA approach: Let's say this is your dropdown data and your ActiveX ComboBox

1702660777942.png


Then you can use this code behind the combobox.
Make sure you set the property MatchEntry to MatchEntryNone

VBA Code:
Private Sub ComboBox1_Change()
 With ComboBox1
    .List = Filter([transpose(a1:a8)], .Text)
    .DropDown
 End With
End Sub
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,129
Messages
6,123,218
Members
449,091
Latest member
jeremy_bp001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top