google-sheets - 当数据在另一个工作表中时,如何从文本字符串中提取特定文本?
问题描述
我在谷歌表中有一个包含 60 个文本字符串条目的列。这些是职位。其中一个条目看起来像这样。
"Procurement Manager (MEP & Civil) urgently (Construction experience is Mandatory).Company - Kleindienst experience - Experience with 5-star hotels & luxury project will be preferred, min 10 years’ experience with same level position."
在 google sheet 的另一个工作表中,我有一列包含 2000 多个职位。说 Sheet2!A1:A2000 。
我想如果上面的文本字符串中存在另一个谷歌工作表中的任何职位,然后在下一列中显示该职位。
我使用了以下 vlookup 公式,但未能提取职位名称。在这种情况下,工作表名称为 Data Lookup , A2:A2000 包含 Data Lookup 工作表中的所有职位,其中 9 列包含相同职位的查找值。C2 包含上述工作描述。
=VLOOKUP(C2,'Data Lookup'!A2:A2000,9,FALSE)
但这个公式给出了错误。我怎样才能得到职位。
解决方案
try:
=VLOOKUP(C2; 'Data Lookup'!I:J; 2; 0)
it translates as: look for C2 in column I and if match is found return column J
推荐阅读
- apache-flink - Apache Flink:如何使用 writeAsFormattedText 接收器将标题添加到 CSV 文件?
- actions-on-google - 谷歌操作验证上的 EPROTO 错误
- docker - 无法访问 kubernetes + rancher 中的 KubeAPI 端口
- react-native - 在 react-native 中减去 2 次
- image - 将图像放入 x11 中的窗口
- python - pandas dtype 输出有额外的行
- javascript - 筛选选项以恢复所有结果
- java - 通过 Groovy 脚本访问 Java 局部变量
- c# - 尝试通过来自数据库触发器的 Web 请求执行“EXECUTE Master.dbo.xp_CmdShell”命令以在本地创建文本文件时发生错误
- react-native - 如何在本机反应中实现时间选择器功能