Issue with creating dependent dropdown list

DarkSmile

Board Regular
Joined
Feb 22, 2021
Messages
90
Office Version
  1. 365
Platform
  1. Windows
Hello,

I got an issue with a dependent dropdown list, for some reason it doesn't work.. If already created multiple successful dependent dropdown lists but for some reason this one won't work..
Is there some thing like text that blocks it?

Here what I got
copy.xlsx
ABC
3Parameters : ACS-038
4Type activiteiten:Feed/Food
5Aantal Feed/Food activiteit:
6
7
8
9
10
11
12
13
14
15
16
17
18
19Dropdown list: Type activiteitenPlaceholders
20Feed/FoodAantal Feed/Food activiteit:
21Feed/Food & LandbouwproductenAantal Feed/Food & Landbouw activiteit:
22LandbouwproductenAantal Landbouw activiteit:
23
24
25
26
27
28Feed/FoodFeed/Food & LandbouwproductenLandbouwproducten
29<2<21 Landbouw activiteit
302< - <52< - <52 Landbouw activiteit
315< - <105< - <103 Landbouw activiteit
32>10>10Activiteit mengen in bulk
33Feed/Food + 1 Landbouw activiteitInvoer van organische meststoffen en/of groeimedia
34Feed/Food + 2 Landbouw activiteit
35Feed/Food + 3 Landbouw activiteit
36Activiteit mengen in bulk
37Invoer van organische meststoffen en/of groeimedia
ACS-038
Cell Formulas
RangeFormula
A5A5=IF(B4="Feed/Food",'ACS-038'!$B$20,IF(B4="Feed/Food & Landbouwproducten",'ACS-038'!$B$21,IF(B4="Landbouwproducten",'ACS-038'!$B$22,"N/A")))
Cells with Data Validation
CellAllowCriteria
B4List=TypeActACS038
B5List=INDIRECT(B4)


File if prefered: Google Drive
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I doubt that you have a range named Feed/Food in your sheet as / is not a valid character in a name.
 
Upvote 0
I doubt that you have a range named Feed/Food in your sheet as / is not a valid character in a name.
Range one where it says "Feed/Food" comes from A20:A22, the dependent list (that needs to come in B5) comes from A28:C37 but doesn't work
 
Upvote 0
You can not name a range as Feed/Food

It is not a valid name, so it can not exist. If the name does not exist then there is nothing to show in the dropdown.

edit:- in the file that you attached, the range is named Food_Feed, not Food/Feed.
 
Last edited:
Upvote 0
Solution
You can not name a range as Feed/Food

It is not a valid name, so it can not exist. If the name does not exist then there is nothing to show in the dropdown.

edit:- in the file that you attached, the range is named Food_Feed, not Food/Feed.
Fixed it by renaming it as followed, thnx!
TCA berekening.xlsm
ABC
3Parameters : ACS-038
4Type activiteiten:Feed_Food
5N/A
6
7
8
9
10
11
12
13
14
15
16
17
18
19Dropdown list: Type activiteitenPlaceholders
20Feed_FoodAantal Feed/Food activiteit:
21Feed_Food_LandbouwproductenAantal Feed/Food & Landbouw activiteit:
22LandbouwproductenAantal Landbouw activiteit:
23
24
25
26
27
28Feed_FoodFeed_Food_LandbouwproductenLandbouwproducten
29<2<21 Landbouw activiteit
302< - <52< - <52 Landbouw activiteit
315< - <105< - <103 Landbouw activiteit
32>10>10Activiteit mengen in bulk
33Feed/Food + 1 Landbouw activiteitInvoer van organische meststoffen en/of groeimedia
34Feed/Food + 2 Landbouw activiteit
35Feed/Food + 3 Landbouw activiteit
36Activiteit mengen in bulk
37Invoer van organische meststoffen en/of groeimedia
ACS-038
Cell Formulas
RangeFormula
A5A5=IF(B4="Feed/Food",'ACS-038'!$B$20,IF(B4="Feed/Food & Landbouwproducten",'ACS-038'!$B$21,IF(B4="Landbouwproducten",'ACS-038'!$B$22,"N/A")))
Cells with Data Validation
CellAllowCriteria
B4List=TypeActACS038
B5List=INDIRECT(B4)
 
Upvote 0
Happy to help :)

For future reference, I believe that you can only use letters, numbers, dot / period or underscore in a range name, no other characters are valid. If you try to enter an invalid name in the name manager then it will warn you of the problem.

From personal experience, the names that are automatically generated based on cell content will have any invalid characters replaced with underscores by default, it looks to me as if this is what has happened to you.
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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