在 Google 工作表中找到具有条件的多个单元格中的重复项

Find a duplicate in multiple cells with condition in Google Sheets

我的 Name 列具有不同的 Type(低、中、高)。

然后我有多个列 Name 并且需要检查是否有重复并且它们的类型不是 Low,并且 return 重复的单元格。

示例 sheet:https://docs.google.com/spreadsheets/d/12gazwAY-yZ7LFzVd_fqv6vKRrwOav_9D5C-ujlGufmw/edit#gid=0

尝试:

=ARRAYFORMULA(IF(G2:G="",,IF(1<=
 N(IFNA(VLOOKUP(A2:A, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(A2:A))=
   IFNA(VLOOKUP(C2:C, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(C2:C)))+
 N(IFNA(VLOOKUP(A2:A, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(A2:A))=
   IFNA(VLOOKUP(E2:E, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(E2:E)))+
 N(IFNA(VLOOKUP(A2:A, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(A2:A))=
   IFNA(VLOOKUP(G2:G, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(G2:G)))+
 N(IFNA(VLOOKUP(C2:C, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(C2:C))=
   IFNA(VLOOKUP(E2:E, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(E2:E)))+
 N(IFNA(VLOOKUP(C2:C, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(C2:C))=
   IFNA(VLOOKUP(G2:G, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(G2:G)))+
 N(IFNA(VLOOKUP(E2:E, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(E2:E))=
   IFNA(VLOOKUP(G2:G, FILTER(L2:L, M2:M<>"LOW"), 1, 0), COLUMN(G2:G))),
 "yes", "no")))