Searchable dropdown list

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hi, I have created a dynamic searchable drop down list with around 1600 names and it's working perfect except for one thing. I have 2 names in the list "Rajesh" and "Rajesh Shah". Only one name appears in the drop down list when I type "rajesh". What could be the problem,?
 
This should be
=OFFSET(H2,,,COUNTIF(Sheet1!$H:$H,"*?"),1)
or
=OFFSET(H2,,,COUNTIF(Sheet1!$H$2:$H$1472,"*?"))
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try to change this formula:

=OFFSET(H2,,,COUNTIF($H$2:$H$1472,"?*"))
to this
=OFFSET(H2,,,COUNTIF(Sheet1!$H$2:$H$1472,"*?"),1)
Change Sheet1 with name of the sheet
=OFFSET(H2,,,COUNTIF(DD list!$H$2:$H$1472,"?*"),1)
I am getting a #Name? Error
 
Upvote 0
=OFFSET(H2,,,COUNTIF(DD list!$H$2:$H$1472,"?*"),1)
I am getting a #Name? Error
I think something wrong with the search function. It is not calculating the max function properly. It should show 1,2,3,4,5,6 and instead it is showing 1,1,2,2,3,3,. Can you help me with this
 
Upvote 0
I think something wrong with the search function. It is not calculating the max function properly. It should show 1,2,3,4,5,6 and instead it is showing 1,1,2,2,3,3,. Can you help me with this

Hi Tom Jones, Problem solved. Thanks for replying.
Answer - =IF(ISNUMBER(SEARCH(CELL("contents"),F3)),MAX($E$2:E2)+1,0)
 
Upvote 0
Helper column in the table like this, =ISNUMBER(SEARCH($F$1,[@Name]))
1595968875622.png
1595968934513.png
1595968957555.png


Once again this is just a quick way to limit the items shown. The search box in the middle picture offers a similar function.
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,213,507
Messages
6,114,029
Members
448,543
Latest member
MartinLarkin

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