【问题标题】:google spreadsheet index match multiple column of same data?谷歌电子表格索引匹配多列相同数据?
【发布时间】:2016-02-22 16:13:23
【问题描述】:

我有一张包含 ChildName1、Childname2、parentemail 的工作表

并且希望使用索引匹配?或其他内容。

有子名和父邮箱

sheet1(向我返回这些信息的调查):

CName1, CName2,   email1

danny,  andy,     hel@g.com

andrew, daniel,   asd@g.com

sheet2(必须创建 parentemail 列)

time, childname parentemail

1,    danny,    hel@g.com

3,    andy,     hel@g.com

4,    andrew,   asd@g.com

9,    daniel,   asd@g.com

有什么建议吗?我试着到处寻找,当我使用

=index(Sheet1!C:C,match(B1,
Sheet1!A:A,0),match(B1,
Sheet1!B:B,0))

我收到错误

【问题讨论】:

  • 不使用查询的原因是因为这两个是单独的数据集... sheet1 包含所有学生/家长信息, sheet2 包含学生信息片段...

标签: google-sheets


【解决方案1】:

将此公式粘贴到 Sheet2 中:

={{Sheet1!A2:A3;Sheet1!B2:B3},{Sheet1!C2:C3;Sheet1!C2:C3}}

this workbook 中测试它。

要添加 Time 列,您需要先在 Sheet1 中定义它。

【讨论】:

    猜你喜欢
    • 2021-10-21
    • 2018-11-19
    • 1970-01-01
    • 2013-12-20
    • 1970-01-01
    • 2017-09-29
    • 1970-01-01
    • 2013-10-05
    • 1970-01-01
    相关资源
    最近更新 更多