简体   繁体   English

检查单元格值是否也在另一列中

[英]Check if cell value is also in another column

I have two columns that contain text. 我有两列包含文本。 I want to fill a third column with the text that is found in both columns. 我想用在两列中找到的文本填充第三列。

for example: 例如:

在此处输入图片说明

What formula can I use to do this? 我可以使用什么公式来做到这一点?

在单元格E2中并向下复制:

=IFERROR(INDEX($C$2:$C$7,MATCH(1,INDEX((COUNTIF($D$2:$D$7,$C$2:$C$7)>0)*(COUNTIF(E$1:E1,$C$2:$C$7)=0),),0)),"")

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于检查一列中某个单元格的值是否在另一列中某个单元格的范围内并在同一行上添加一个值的公式 - Formula to check if the value of a cell in a column is in the range of a cell in another column and add a value on the same line VBA - 检查单元格值是否在列中 - VBA - Check if cell value is in a column 如何检查单元格的值是否为另一个单元格的子值 - How to check if value of cell is a subvalue of another cell 如果第 7 列中的一个单元格等于另一个单元格中的值,则更改为另一个单元格中的值 - If a cell in Column 7 equals the value in another cell change to the value in another cell 将单元格的最后一个值复制到另一列的单元格中 - copy last value of a cell into a cell of another column 如何编写代码来检查列是否包含值,然后将指定的值放入另一个单元格 - How to write code to check if a column contains a value, then put a specified value in another cell Excel:检查列中是否已存在单元格值,然后减去并显示另一个值 - Excel: Check if cell value already exists in column, and then substract and show another value 如何检查单元格值以更改另一个值? - How to check cell value to change value of another? EXCEL:检查是否在另一列中找到单元格文本 - EXCEL: Check if cell text is found in another column 根据另一列中的单元格值验证一列中的单元格值 - Validate cell value in one column based on cell value in another column
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM