[英]Excel formula, find similar string between two columns
I want find a formula who allows to check like this : 我想找到一个允许检查的公式:
column 1 : row 1 : "AAA AA ABB A" ... 第1列:第1列:“ AAA AA ABB A” ...
column 2 : row 1 : "LLL BBLL" ... 第2列:第1行:“ LLL BBLL” ...
the formula return TRUE with rows 1 of the two columns because there is "BB" I don't want search "BB" but find if two rows are "similare" like this example. 该公式对两列的第1行返回TRUE,因为这里没有“ BB”,我不想搜索“ BB”,而是要查找两行是否像本例一样“相似”。 Thanks you =) 谢谢你=)
Is it possible via formula ? 是否可以通过公式? (no vb) (无vb)
This is maybe possible with the following approach: 可以通过以下方法实现:
This is a German Excel. 这是德语Excel。 WAHR=TRUE and FALSCH=FALSE ;-) WAHR = TRUE和FALSCH = FALSE ;-)
Formulas in C4: C4中的公式:
{=NOT(AND(ISERROR(FIND(MID($A4,ROW($A$1:INDEX($A:$A,LEN($A4)-$C$2+1)),$C$2),$B4))))}
and in D4: 在D4中:
{=NOT(AND(ISERROR(SEARCH(MID($A4,ROW($A$1:INDEX($A:$A,LEN($A4)-$C$2+1)),$C$2),$B4))))}
These are array formulas. 这些是数组公式。 Input them in the cell without the curly brackets and the press [Ctrl]+[Shift]+[Enter] to complete. 在没有大括号的单元格中输入它们,然后按[Ctrl] + [Shift] + [Enter]完成。
The approach is to get an array of $C$2 length substings from string in column A and find/search them in the string in column B. 该方法是从A列的字符串中获取一个$ C $ 2长度的子数组,并在B列的字符串中查找/搜索它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.