[英]How can I return unique values horizontally on Excel
I have a table that looks like this from A1-A10我有一张从 A1-A10 看起来像这样的桌子
**Animal**
Zebra
Zebra
Zebra
Giraffe
Giraffe
Monkey
Monkey
Cat
Cat
I want to return ONLY the unique values HORIZONTALLY in a row - and have them sorted alphabetically我只想连续返回唯一值 HORIZONTALLY - 并按字母顺序排序
like this:像这样:
Cat Giraffe Monkey Zebra
Currently I have this formula in D3: but this returns unique values vertically目前我在 D3 中有这个公式:但这会垂直返回唯一值
=IFERROR(LOOKUP(2, 1/(COUNTIF($D$2:D2, $A$2:$A$10)=0), $A$2:$A$10), "") =IFERROR(LOOKUP(2, 1/(COUNTIF($D$2:D2, $A$2:$A$10)=0), $A$2:$A$10), "")
Zebra
Monkey
Giraffe
Cat
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.