嵌套公式未按预期工作 Google 工作表

Nesting formulas not working as expected Google Sheets

我正在尝试嵌套以下两个公式,它们都有效。

cell AO2 = Bob,cell AP2 = Judy

=TEXTJOIN(\"|\", True, AO2, AP2) = Bob|Judy

=SUBSTITUTE(ADDRESS(1,MATCH("*sumAppTags",Elements!A1:BB1,0),4),1,"") = Column Index AO

如果我尝试:

=TEXTJOIN("|", True, SUBSTITUTE(ADDRESS(1,MATCH("*sumAppTags",Elements!A1:BB1,0),4),1,"")&2, AP2)

我得到:AO2|Judy

有没有办法让它工作?

尝试:

=TEXTJOIN("|", 1, INDIRECT(SUBSTITUTE(ADDRESS(1, 
 MATCH("*sumAppTags", Elements!A1:BB1, 0), 4), 1, )&2), AP2)