excel - Excel formula to check if items from a comma separated list in one cell exist in a comma separated list in another cell?
问题描述
I have a spreadsheet where every row has two columns, each containing a comma separated list of words or phrases.
Column 1 | Column 2
---------------------------------------------------------
Orange, Pear, Sugar apple, Kiwi | Orange, Sugar apple
Banana, Watermelon, Pomegranate | Strawberry, Banana
I'm trying to create a formula that checks if the items listed in Column 2 are a subset of the items listed in Column 1 and outputs true
or false
.
In the above example the output should be true
for Row 1 and false
for Row 2.
The solutions I tried using the search
and find
functions only work if the items in Column 2 are listed in the same sequence, i.e. if Column 2 is a substring of Column 1.
解决方案
推荐阅读
- python - “无法导入 Python 映像库”
- arrays - 如何使用 *ngfor 读取和显示数组数组?
- ios - 来自 ARKit 的 DeviceMotion 数据
- python - 尝试 pip install cantools 时退出状态 1
- java - firebase 电话身份验证在发布版本中不起作用
- yii - Yii2注册Js set Type并移除jquery
- reactjs - 用打字稿反应上下文
- python - 在 Tensorboard 中组织运行
- ansible - Pervent Ansible 在变量中将 \a 更改为 \u0007
- sql - Postgres 间隔在 where 子查询中不起作用