在 google sheet 中的两个数据中可以使用什么公式来查找唯一值?

What formula can be used to find unique value in two data in google sheet?

我试图在两个数据中找到两个唯一的名称。你能告诉我可以使用什么公式吗?非常感谢

https://docs.google.com/spreadsheets/d/1lkLSmrbln3ZIZSIe25A48nH6931LzQ8DnLmfI_3jsMQ/edit?usp=sharing

尝试:

=QUERY(QUERY(FLATTEN(A2:B), 
 "select Col1,count(Col1) where Col1 is not null group by Col1"),
 "select Col1 where Col2 = 1")