在Google表单上进行模糊匹配 [英] Fuzzy match on google sheets

查看:328
本文介绍了在Google表单上进行模糊匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图模糊匹配谷歌表格中的两列,我尝试了很多公式,但我认为它会归结为一个脚本来帮助。



<我有一个产品ID的列例如


  • E20067



另一张有另一列的图片,其中包含与此产品代码相关的图片网址,例如


  • 然后使用公式:

    / b>

      = REGEXEXTRACT(B1,JOIN(|,$ A $ 1:$ A $ 3))

    它将与ID中的一个匹配。将公式向下拖动以查看结果,如上图所示。



    查看更多 info here


    I'm trying to fuzzy match two columns in google sheets, i've tried numerous formulas but I think it's going to come down to a script to help out.

    I have a column with product ID's e.g.

    • E20067

    and then I have another sheet with another column which has image url's relating to this product code such as

    What I'm wanting to do is "fuzzy" match both of these columns for their product ID, and then create a new column for each match. So it would have the product ID then on the same row in multiple columns each product image URL - like the image below:

    Is there a way to do this in google sheets using a script or a formula?

    解决方案

    In Google sheets there are a few powerful 'regex' formulas.

    Suppose, you have ID list in column A, and URL list in column B

    Then use formula:

    =REGEXEXTRACT(B1,JOIN("|",$A$1:$A$3))
    

    It will match one of ID's. Drag the formula down to see the result as in picture above.

    See more info here

    这篇关于在Google表单上进行模糊匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆