简体   繁体   English

单个表中的条件下拉列表

[英]Conditional drop-down list from single table

It is fairly simple to populate a drop-down list from a fixed table of names (here 'Name1') using data validation. 使用数据验证从固定的名称表(此处为“ Name1”)填充下拉列表非常简单。

在此处输入图片说明

Is it possible to populate a second drop-down list from a second, unnormalised table, akin to doing a lookup on the range with the input value being the selection from the first drop-down list? 是否可以从第二个未规范化的表中填充第二个下拉列表,类似于在范围上进行查找,而输入值是从第一个下拉列表中选择的?

在此处输入图片说明

eg Selecting 'A' from the first drop-down means only 'D', 'E' and 'F' are available in the second drop-down. 例如,从第一个下拉列表中选择“ A”表示第二个下拉列表中仅“ D”,“ E”和“ F”可用。

Unfortunately, the second table cannot be split out into tables 'A', 'B' and 'C' as there are plenty of tutorials explaining how to do it that way. 不幸的是,第二张表不能拆分为表“ A”,“ B”和“ C”,因为有很多教程说明了如何使用该方法。

看看下面的链接,它很好地描述了一个复杂的下拉列表,并包含一个不错的视频教程http://www.contextures.com/xlDataVal02.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM