Dynamic dropdown list based on filtered table

BrendanDixon

Board Regular
Joined
Mar 7, 2010
Messages
174
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi All,

I hope I will be able to explain this clearly. I have a workbook where one sheet has the suppliers names, it also has a column for the category that the company will fall under. I have created a filter where i can filters what categories I want to show. this is simple.

Where I am struggling is that on another sheet I have some cells with data validation list pointing to the names for the companies. This will bring the complete list of companies in the list. The buyers have asked if this list can be filtered with only the companies that they select the categories so that they do not have to go through the whole list.

I am unable to work out a way to do this. please note that they may want to select multiple categories. I have seen methods with helper columns that use a separate dropdown cell to select a category and then only show these companies. But we may not want to filter, and may want to show more than one category.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
What version of Excel do you use, 2019, 365?

How will the user select more than one category, dropdowns, filtering a table?

If you can use the XL2BB add in, you can display the layout of the sheets you are working with.
 
Upvote 0
Procurement Templates V1.09a.xlsm
BCD
6Company 1
7Company 4
8Company 10
9Company 8
10
11
12
13
14
15
Input
Cells with Data Validation
CellAllowCriteria
B6:D15List=Suppliers!$B$2:$B$1001




Procurement Templates V1.09a.xlsm
ABCDEFGHIJKL
1Company NameContact PersonEmailAddress 1Address 2PostcodeBBBEE Level50% Black Youth OwnedVAT RegisteredCSD NumberCategory
21ABANTU GENERALabantugeneralcontractors@gmail.com5NOYESBEARINGS
32ACTOMvickash.ramsern@actom.co.zaNOYESELECTRICAL
43AJMshaun@ajmengineering.co.zaPO BOX 752037GARDENVIEW20472NOYESCRANES
54ALL ELECTRICALleslie@allelectrical.co.zaNOYESELECTRICAL
65AMAZIMZIMjimmy.mbhele@gmail.comYES
76Amber SkiesCraigYES
87ARGON ARCamanda@argonarc.co.zaNOYESWELDING
98AUTOTRONIXbrandon@autotronix.co.zaYES
109BC INDUSTRIALcollin@bcindustrial.co.za1NOYESGENERAL
1110BC INDUSTRIALinnocent@bcindustrial.co.za1NOYESGENERAL
1211BLASTRITEsales@blastrite.comNOYESSHOTBLAST RELATED
1312BOILER AND INDUSTRIALNOYESGAS REPAIRS
1413CCSA Industrial SuppliesCyrilYES
1514COMBUSTION AND GAS SERVICES NOYESGAS REPAIRS
1615DC TSAKANEvickus@tsakanedjc.comYES
1716DDS INDUSTRIALsai@ddsindustrial.co.za1NOYESTOOLS
1817DONKIN (ESAB)fran.mclean@esab.co.zaNOYESWELDING
1918DVK 5NOYESBEARINGS
2019ECORAILecorail706@gmail.comNOYESELECTRICAL
2120ELEC SUPPLIES CORPajith@escdbn.co.zaNOYESELECTRICAL
2221EUROSUPPLIESGordongordon.voltmech@mweb.co.zaaddress 1adress 236102NOYESELECTRICAL
2322FIKILE terrence@fikileindustrialsupp.co.za1NOYESGENERAL
2423FOGARTY ELECTRONICSpro@fogarty.co.zaNOYESELECTRICAL
2524ISIZWENOYESGAS REPAIRS
2625Iswele Trading EntepriseMongYES
2726KONE CRANES shane.beukes@konecranes.comYESCRANES
2827KUHN & REINHARDTNOYESGAS REPAIRS
2928Machine Tool PromotionsGert1NOYES
3029MACHINE TOOL REFABRICATIONshelia10@telkomsa.net1NOYESTOOLS
3130Mafema Sales and servicesLuciusYES
3231MAGNET ELECTRICALbevo@magnetgroup.co.zaNOYESELECTRICAL
3332MAGNUM PRECISION TOOLSkim@magnumtools.co.za1NOYESTOOLS
3433MELRON GROUPNOYESGAS REPAIRS
3534Memotek TradingJohnYES
3635NGALA MARKETINGngalaagency@gmail.com1NOYESTOOLS
3736NUFORM MARKETING nuform31@gmail.com1YESYESTOOLS
3837OCA jaco.bosch@ocaglobal.comYES
3938OCEANLAND oceanlandelectrical@hotmail.comNOYESWELDING
4039OCEANLAND oceanl@mweb.co.zaNOYESWELDING
4140Phawu ConstructionYES
4241PHUMELELA GASINGA Prinolinphumelelagasinga@gmail.com 1YESYESSHOTBLAST RELATED
4342PLASONIC clifford@plasonicwelding.co.zaNOYESWELDING
4443PLASONIC admin@plasonicwelding.co.zaNOYESWELDING
4544PN CABLES Preggiepreggienaidoo63@gmail.com2NOYESELECTRICAL
4645PORT ELECTRICALsunil@portelectrical.co.zaNOYESELECTRICAL
4746POWERTRADE powertrade@mweb.co.za1NOYESELECTRICAL
4847PR ELECTRICALprelectricalsupplies@gmail.comNOYESELECTRICAL
4948PREMIUM INDUSTRIAL AGENCYgavin@premiumagencies.co.za1NOYESTOOLS
5049PREVEN TRADING preventrading@gmail.com1YESYESGENERAL
Suppliers
Cells with Data Validation
CellAllowCriteria
I2:J50ListYES,NO
L2:L50List=Categories!$B$4:$B$103



I see the XL2BB does not show that the headings on the Suppliers list has a filter on it
 
Last edited:
Upvote 0
Excellent, thanks for posting the solution..
 
Upvote 0

Forum statistics

Threads
1,223,936
Messages
6,175,499
Members
452,649
Latest member
mr_bhavesh

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