根据命名范围内的列过滤验证列表
我正在寻找一种基于多列命名范围在 Excel 中过滤列表验证的方法。
我在一张纸上有一个产品版本列表,包含在具有以下列的命名范围中:名称、类型、状态。在另一张纸上,我希望用户能够从仅包含“名称”的验证列表中进行选择。 这里的问题 3741060 介绍了如何使验证列表仅包含“名称”列。但是,我还需要进行过滤,以便用户无法选择状态为“已完成”的版本。 [状态列只允许“计划”、“已分配”或“已完成”。]
理想情况下,我还想根据另一个验证动态仅显示“计划”或“已分配”版本 - 但我想如果我可以获得完全过滤列表我应该能够完成剩下的事情。 顺便说一句 - 我被迫为此使用 Excel 2003,尽管我不认为这会是一个主要因素。
I am looking for a way to filter a list validation in Excel based on a multi-column named range.
I have a list of product releases on one sheet, contained in a named range that has the columns: Name, Type, Status. On another sheet, I want the user to be able to select from a validation list containing 'Name' only.
Question 3741060 here covers how to make the validation list only contain the 'Name' column. However I also need to filter so that the user cannot select a release with the status 'Completed'. [The status column only allows 'Planned', 'Allocated' or 'Completed'.]
Ideally I would also like to dynamically show only 'Planned' OR 'Allocated' releases based on yet another validation - but I think if I can get the list filtered at all I should be able to do the rest.
BTW - I am forced to use Excel 2003 for this, although I don't believe would be a major factor.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在隐藏工作表中使用
这就是我重新生成 LOV 的方式(本质上,用户已经在另一个单元格中选择了国家/地区代码)在字符串 CtyCd 中传递到这里,现在该表准备提供一系列可能的选择,仅针对这个国家称为 GINI 的东西......所以可能类似于您的需求)
在您的情况下,因为数据似乎或多或少静态,您可以将所有有效选择从 [Prod_Release] 复制到 Sheet_Activate 或任何适当的激活触发器处的 LOV。
希望这有帮助......祝你好运 MikeD
I use
This is how I re-generate my LOV (in essence the user has already selected a country code in another cell passed here in string CtyCd, and the sheet now is prepered to offer a selection of possible choices of something called GINI for only this country ... so maybe similar to your demand)
In your case, as the data seems to be more or less static, you can copy all valid selections from [Prod_Release] to LOV at Sheet_Activate or any appropriate activation trigger.
Hope this helps .... good luck MikeD