我正在努力寻找一种使用vlookup的方法,其中search_key和范围都是2列。在这两个床单(我正在使用Ingrange的单独工作簿)中,我有2列具有名字和姓氏。 Sheet1还包含租赁日期,我想将租赁日期从Sheep1填充到Sheet2中的一列。
如果我将名字和姓氏合并到两个床单上的一个列中,我就可以完成我想要的。不幸的是,这不是一个永久解决方案,因为还有其他依赖性必须保留单独的列。
我创建了一本测试WorrkBook来展示该问题。
I am struggling to find a way to use a VLOOKUP where the both the search_key and range are 2 columns. In both sheets (seperate workbooks for which I am using IMPORTRANGE) I have 2 columns with First Name and Last Name. The Sheet1 also contains the Hire Date, and I would like to populate the Hire Date from Sheet1 into a column in Sheet2.
I accomplish what I want if I merge the First Name and Last Name into a single column on both sheets. Unfortunately, this cannot be a permanant solution since there are other dependancies where the names must remain seperate columns.
I have created a test worrkbook to showcase the issue.
https://docs.google.com/spreadsheets/d/1v3coBJRwJEbrrdgcflV4-dssKgknS-T2werWVjPwxEA
发布评论
评论(1)
将此公式放入单元
Sheet2!c1
中:然后将结果列格式为 format>数字>日期。
Put this formula in cell
Sheet2!C1
:Then format the result column as Format > Number > Date.