google-sheets - 如何从选定的单元格范围创建唯一列表?
问题描述
我在单元格 A1:A16 中有一个食物列表,并希望创建一个唯一列表,其中每个项目仅在列表中出现一次:
Eggs
Bacon
Hashbrowns
Baked Beans
Avocado
Coffee
Bread
Bread
Sandwhich meet
Lettuce
Tomato
mustard
mayo
Crisps
Cheese
Crackers
我试过公式=unique(transpose(split(ArrayFormula(concatenate(A1:A16&" "))," ")))
但这会创建一个唯一列表并将诸如“烤豆”之类的单词拆分为新项目,如下所示:
Eggs
Bacon
Hashbrowns
Baked
Beans
Avocado
Coffee
Bread
Sandwhich
meet
Lettuce
Tomato
mustard
mayo
Crisps
Cheese
Crackers
如您所见,“baked”和“beans”显示为两个独立的项目。如何使其成为新唯一列表中的一项?
解决方案
推荐阅读
- git - 放弃对 Gerrit 的提交
- jsp - Intellij CE 是否支持 .jsp?
- python - Django覆盖保存方法以一次保存多个对象
- windows - kubernetes 强制容器的 docker 选项
- javascript - 使用 htmlunit 抓取 javascript - “您当前浏览时关闭了 JavaScript”
- ubuntu - 是否可以使用批处理脚本在 WSL2 中启动 xfce4?
- git - ModuleNotFoundError:Heroku 上没有名为“app”的模块
- javascript - 谁能帮我解决这个反应错误?
- python - Python Tornado KeyError 从客户端集中删除客户端时
- awk - 垂直对齐尾部反斜杠