简体   繁体   English

在这种情况下如何使用VLOOKUP

[英]How to use VLOOKUP in this situation

I am looking to use VLOOKUP to find the operatives names that require Irata Training 我正在寻找使用VLOOKUP查找需要进行Irata培训的操作人员的姓名

在此处输入图片说明

^ Is the sheet I am using ^是我正在使用的床单吗

I'm not sure if its possible as the Irata training has two levels 我不确定是否有可能,因为Irata培训有两个级别

Assuming you have a list of all employees in another table, and want to do a lookup to find out what (if any) Irata training they require, the following array formula will work: 假设您在另一个表中有所有雇员的列表,并且想要进行查找以找出他们需要的Irata培训(如果有),那么以下数组公式将起作用:

Assuming you start your Irata table with Jose Castillo in cell H2: 假设您在单元格H2中用Jose Castillo启动了Irata表:

=vlookup(H2,IF((D$4:D$28="Irata Level 1"+(E$4:E$9="Irata Level 2")=1,C$4:D$28,""),2,FALSE)

then enter the formula by holding Ctrl+Shift+Enter to make it an array formula. 然后按住Ctrl + Shift + Enter输入公式以使其成为数组公式。

This will return #N/A for employees who don't require Irata training - if you would prefer to see some text instead you can use: 对于不需要Irata培训的员工,这将返回#N / A -如果您希望看到一些文字,则可以使用:

=iferror(vlookup(H2,IF((D$4:D$28="Irata Level 1"+(E$4:E$9="Irata Level 2")=1,C$4:D$28,""),2,FALSE),"Not Required")

and use Ctrl+Shift+Enter to enter the formula - this will return Not Required next to Charlyn Baren 并使用Ctrl + Shift + Enter输入公式-这将在Charlyn Baren旁边返回“不需要”

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

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