简体   繁体   English

Excel验证中的动态范围

[英]Dynamic range in excel validation

I have an excel sheet which contains employee information. 我有一个包含员工信息的Excel工作表。 Name, surname, department, role are columns of this sheet. 名称,姓氏,部门,角色是此工作表的列。

I have another sheet in the excel file: roles. 我在excel文件中还有另一张纸:角色。 This sheet has two columns: Department and Roles. 该工作表分为两列:部门和角色。

If user enters its role as IT in the employee sheet, he/she must only choose IT related roles in the role column. 如果用户在员工表中输入其作为IT的角色,则他/她必须仅在角色栏中选择与IT相关的角色。

I can show all roles from role sheet by using data validation list. 我可以使用数据验证列表显示角色表中的所有角色。 But how can I use custom filters for allowance of selecting roles according to the selected departments? 但是,如何使用自定义过滤器来允许根据所选部门选择角色?

(My office version is 2003) (我的办公室版本是2003)

I think this link will explain it far better than I could here : 我认为此链接将比我在这里能更好地解释它:

http://www.contextures.com/xldataval02.html http://www.contextures.com/xldataval02.html
http://www.contextures.com/xlDataVal13.html http://www.contextures.com/xlDataVal13.html

I hope this is helpful to you. 希望对您有帮助。

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

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