使用公式外部连接 3 张

Outer join 3 sheets using formula

我在 3 sheet 秒内有 3 个表。 email 列是标识数据的地方。这意味着在加入

后,电子邮件在预期结果中将是唯一的 sheet

To make a copy of the sheet click here To view the sheet click here

第一个Sheet

First Name
Last Name
Email
Phone
Childs First Name
Child Last Name
DOB
Photo Permission
Allergies
Additional Info
Additional Contact
Teacher Name(s)
Sibling First Name
Sibling Last Name
DOB2
Allergies 2
Additional Info 2
Photo Permission 2
How did hear?

第二

Second-First Name
Second-Last Name
Second-Phone
Email
Second-Message

第三

Third-First Name
Third-Last Name
Email

我试过

=FILTER({First!A2:B,
 VLOOKUP(First!C2:C, {Second!A2:A, Second!B2:D}, {2,3,4}, false)},
 First!C2:C<>"")

但我需要确保所有 3 个 sheet 都已加入并且预期结果看起来像 预期的

首先 第二

第三

this editable copy of your sheet 中名为 MK.Help 的选项卡上有三个青色公式:

这是第二组名字:

=ARRAYFORMULA({Second!A1:E1;ARRAY_CONSTRAIN(IFERROR(VLOOKUP(C2:C,{Second!D:D,Second!A:E},{2,3,4,5,6},0)),COUNTA(C2:C),5);FILTER(Second!A2:E,Second!D2:D<>"",ISNA(MATCH(Second!D2:D,C2:C,0)))})

如你所愿?