【发布时间】:2021-11-15 10:57:12
【问题描述】:
我有一份员工名单,上面写着姓名、部门和工作年限
Name Department Years of Experience
John HR 5
Mary Finance 12
Tom HR 6
Dick Finance 11
Sally HR 8
Harry Finance 10
Tim HR 8
Duke Finance 9
Simon HR 9
Dolly Finance 2
Reference to the list of Employees
我想写一个公式,我可以输入部门和工作年限作为搜索条件 - 例如:“HR”和“6” Input Criteria
Search Department: HR
Years of Experience: 6
我希望得到的结果是姓名、部门和工作年限,根据员工的经验与搜索部门的接近程度排序。
例如:我搜索了“HR”和“6”,结果会排序: Displaying of Results
Name Department Years of Exp
Tom HR 6
John HR 5
Sally HR 8
Tim HR 8
Simon HR 9
【问题讨论】:
-
你有 FILTER 和 SORTBY 吗?那么这就是你所需要的。
-
是的,我确实有 FILTER 和 SORTBY,我应该如何编写公式?感谢您的及时回复:)
标签: excel excel-formula excel-365