Dependent dropdown lists

Plirl

New Member
Joined
Aug 3, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hi guys,

I am trying to create a sort of flow chart using dependent dropdown lists.

I have managed to get 3 dropdowns working, but I am struggling with the 4th dropdown.

In this example:
A2=ProductList
B2=INDIRECT(VLOOKUP(A2,ProductLookup,2,0)&"List")
C2=INDIRECT(VLOOKUP(B2,INDIRECT(VLOOKUP(A2,ProductLookup,2,0)&"Lookup"),2,0)&"List")

I am trying to now add a fourth column now to determine the Region of the where the fruit came from e.g. Mac Apple from Portugal, however I am receiving an error when trying the below formula.
D2=INDIRECT(VLOOKUP(C2,INDIRECT(VLOOKUP(B2,INDIRECT(VLOOKUP(A2,ProductLookup,2,0)&"Lookup),2,0),2,0)&"Lookup")



Image

Portugal and Italy have been set up as a lookup table with Maclist - called MacLookup

Image

I am unsure as to why I am receiving this error, and would appreciate any help I could get with it.

Thank you
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi and welcome to MrExcel,

I don't fully understand what you're trying to do because the question is "I am trying to now add a fourth column now to determine the Region of the where the fruit came from"
But the formula looks at Cell C2 which is not fruit but a recipe.

Anyway, look at this and see if this helps. It's based upon the assumption the question you've asked is leading and not the formula with the problem.
Book1
ABCDEFGHIJ
1Product TypeProductRecipeRegion
2Red FruitMacintosh AppleApple CrispItaly
3
4
5ProductList
6Red Fruit
7Yellow & Orange Fruit
8Green Fruit
9
10RedFruitMacBingMacCntryBingCntry
11Macintosh AppleMacApple PieCherry PiePortugalSpain
12Bing CherriesBingApple CrispCherry TartsItalyGreece
13
14YellowOrangeFruitBananaMeyer
15BananaBananaBanana LoafLemonade
16Meyer LemonMeyerBanana MuffinsLemon Ice Cream
17
18GreenFruitKeyLimeGrapes
19Key LimeKeyLimeKey Lime PieGrape Jam
20GrapesGrapesMargaritasGrape Jelly
Sheet1
Cells with Data Validation
CellAllowCriteria
A2List=$A$6:$A$8
B2List=INDEX(INDIRECT(SUBSTITUTE(SUBSTITUTE(A2;" ";"");"&";""));0;1)
C2List=INDEX(INDIRECT(VLOOKUP(B2;INDEX(INDIRECT(SUBSTITUTE(SUBSTITUTE(A2;" ";"");"&";""));0;0);2;0));0)
D2List=INDEX(INDIRECT(VLOOKUP(B2;INDEX(INDIRECT(SUBSTITUTE(SUBSTITUTE(A2;" ";"");"&";""));0;0);2;0)&"Cntry");0)
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,662
Latest member
Aman1997

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