Drop Down Lists with Criteria

MrUnsurewhattodo

New Member
Joined
Oct 26, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi all, im trying to add in a drop down list with criteria.

We have products and builders and I would like to be able to select which builder for individual products based on those that can build it (not all builders and build all products). So I would like to select a product and then only the builders that can build up show in the drop down box J3

Ive added a example file and already have the dropdown for the product I3

Please help
 

Attachments

  • Capture.PNG
    Capture.PNG
    147.7 KB · Views: 25

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi MrUnsurewhattodo,

There may be a forum member along soon who can provide a solution better suited to your Excel 365 version but as I've only Excel 2016 then this is my approach.

For the Builder selection you'll need to construct the Data Validation List of each Builder with a "YES" against that Product. I'm guessing that you may want to copy down the selection cells so the list will need to be built horizontally, one for each Product selection cell.

Here I've used columns M to R but they could be hidden or further off to one side. The selection would look like this:
1635329629505.png


Here would be the formulae

Unsurewhattodo.xlsx
ABCDEFGHIJKLMNOPQR
1Product CodeCallumColinLukeChrisAndyKiann
2ACC1948YESYESYESYESProductBuilder
3ACC1192YESYESYESACC1470AndyCallumColinAndy   
4ACC1470YESYESYESACC1303ColinColinChris    
5ACC1801YESYESACC1255ChrisColinChris    
6ACC1303YESYESACC1635KiannCallumColinLukeChrisAndyKiann
7ACC1255YESYESACC1750ColinLukeAndy   
8ACC1820YESYES      
9ACC1827YES      
10ACC1750YESYESYES      
11ACC1310YES      
12ACC1487YES      
13ACC1253YES      
14ACC1618YES
15ACC1565YES
16ACC1635YESYESYESYESYESYES
17
Sheet1
Cell Formulas
RangeFormula
M3:R13M3=IFERROR(INDEX(Table1[[#Headers],[Callum]:[Kiann]],AGGREGATE(15,6,COLUMN(Table1[[#Headers],[Callum]:[Kiann]])-COLUMN(Table1[[#Headers],[Product Code]])/(INDEX(Table1[[Callum]:[Kiann]],MATCH($I3,Table1[Product Code],0),)="YES"),COLUMN()-COLUMN($L$3))),"")
Cells with Data Validation
CellAllowCriteria
I3:I16List=$A$2:$A$16
J3:J16List=OFFSET($M3,,,,COUNTIF($M3:$R3,"> "))
 
Upvote 0

Forum statistics

Threads
1,214,525
Messages
6,120,051
Members
448,940
Latest member
mdusw

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