Filtering by multiple values in row using a combo box

wbstadeli

Board Regular
Joined
Mar 11, 2016
Messages
153
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I want to create a database with a lot of tools that we use for our company. The info will have price/part number/type/etc on each item. Using a simplified version, here is what i would like to achieve. When i type words/numbers in a combo box, i want it to "sort" my extensive list of products (by rows). I can do all this using a single cell to match my "linked cell" from my combo box, but i dont know how to add multiple cells for it to match up with.

Example: See table below


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]list row #:[/TD]
[TD]Type[/TD]
[TD]Brand[/TD]
[TD]Length[/TD]
[TD]Drill Size[/TD]
[TD]Linked Cell from combobox[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]Jobber[/TD]
[TD]Nachi[/TD]
[TD]3"[/TD]
[TD].125[/TD]
[TD][/TD]
[TD]=IF(ISNUMBER(SEARCH($F$1,E2)),A2,"")[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]Stub[/TD]
[TD]OSG[/TD]
[TD]4"[/TD]
[TD].25[/TD]
[TD][/TD]
[TD]=IF(ISNUMBER(SEARCH($F$1,E3)),A3,"")[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD]Extra-long[/TD]
[TD]YG[/TD]
[TD]9"[/TD]
[TD].125[/TD]
[TD][/TD]
[TD]=IF(ISNUMBER(SEARCH($F$1,E4)),A4,"")[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD]Short[/TD]
[TD]PDT[/TD]
[TD]1''[/TD]
[TD].375[/TD]
[TD][/TD]
[TD]=IF(ISNUMBER(SEARCH($F$1,E5)),A5,"")[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Currently i can sort this by:

-Entering a value in the combo box, for this case it will be ".125"
-That combo box has a linked cell (F1) so .125 gets entered into F1
-Column (G) has the following formula for each row =IF(ISNUMBER(SEARCH($F$1,E2)),A2,"")
-That returns List row #1 into cell G2 and list row #3 into G4.

That is all fine, except i want to be able to filter it down further using all the cells in the row not just "E".

So the same combo box i would type for example ".125 jobber" and it would filter down to only returning list row #1 into G2 and now list row #3 (G4) would be a blank because that row doesn't contain the word "jobber" in it. Is this a possibility??

I appreciate your time to look at this!!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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