Dependant drop down list based on cell in another worksheet

oblix

Board Regular
Joined
Mar 29, 2017
Messages
183
Office Version
  1. 2010
Platform
  1. Windows
Hi there
in sheet3 I have this
sheet3.png

I am trying to create drop down lists in column c, d, g and so on based on looking up what is in columnb, matching it to column b in sheet4 and returning all items in column c that match in sheet4 . here is sheet4

:
sheet4.png

What should the formula in the data validation be to make this work?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
will this help
test.xlsm
BC
1
2categoryIngredient
3Eggss
4Eggbb
5Breakfast ProteinA
6Breakfast ProteinB
7Breakfast ProteinC
8Breakfast ProteinD
9Breakfast ProteinE
10Breakfast ProteinF
11Breakfast ProteinG
12Breakfast ProteinH
13Breakfast ProteinI
14Lunch Protein1
15Lunch Protein2
16Lunch Protein3
17Lunch Protein4
18Lunch Protein5
19Lunch Protein6
20Lunch Protein7
21Lunch Protein8
22Lunch Protein9
23Lunch Protein10
24Lunch Protein11
25Lunch Protein12
26Lunch Protein13
27Lunch Protein14
28Lunch Protein15
29Lunch Protein16
30Lunch Protein17
31Lunch Protein18
32Lunch Protein19
33Lunch Protein20
34Lunch Protein21
35Lunch Protein22
36Lunch Protein23
37Lunch Protein24
38Lunch Protein25
39Lunch Protein26
40Lunch Protein27
41Lunch Protein28
42Fruita
43Fruitb
44Fruitc
45Fruitd
46Fruite
47Fruitf
48Fruitg
49Fruith
50Fruiti
51Fruitj
52Fruitk
53Fruitl
54ss
55ff
Dishes





and this:

test.xlsm
BCDGJ
1MEAL PLANDAY 1DAY 2DAY 3
2WEEK 1MondayTuesdayWednesday
3BREAKFASTBREAKFASTBREAKFASTBREAKFAST
4EggssPearBanana
5
6Yoghurt Yoghurt
7
8CerealPuffed RiceMuesli PlainRolled Oats
9
10PorridgePuffed RiceMuesli PlainRolled Oats
11
12MilkMilkMilkMilk
13
14SugarSugarSugarSugar
15
16Breakfast Meat 1BoereworsVienna SmokedFish Fingers Grilled
17Breakfast Meat Dish 1Bacon
18Breakfast Meat 2BoereworsVienna SmokedFish Fingers Grilled
19Breakfast Meat Dish 2Bacon
20Egg
21Egg DishEgg FriedEgg Poached Egg Boiled
22CheeseGoudaGouda
23Cheese Dish
24Supplementary Item
25Tomato and Onion GravyMushrooms FriedOnions Rings Fried
26Brown Bread / ToastBrown Bread / ToastBrown Bread / ToastBrown Bread / Toast
27Bread Dish
28Spread / JamApricot Jam
29
30Butter / MargarineMargarineMargarineMargarine
31
32BeverageTea / CoffeeTea / CoffeeTea / Coffee
33
34MilkMilkMilkMilk
Cycle_1_ to_7
Cell Formulas
RangeFormula
D4D4=IFERROR(INDEX(Ingredients, SMALL(IF(Categories=$B4, ROW(Categories)-MIN(ROW(Categories))+1), ROW(1:1))), "")
Named Ranges
NameRefers ToCells
Categories=Table1[category]D4
Ingredients=Table1[Ingredient]D4
'Cycle_1_ to_7'!Print_Area='Cycle_1_ to_7'!$C$1:$X$115D4
Cells with Data Validation
CellAllowCriteria
D16List=IngredientsList
B4:B34List=Cat_list
C4List=OFFSET(Sheet1!$B$3, #REF!, 0, COUNTIF(Sheet1!$A$3:$A$100, B4), 1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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