libreoffice 查找 A 列中的所有内容,如 "doctor*" 或 LIKE "Fysio*",然后 B 列 = 2.3
libreoffice find all in column A like "doctor*" OR LIKE "Fysio*" then column B = 2.3
我尝试根据 A 列中的文本用数据填充 B 列。
在 A 列中查找所有 like "doctor*" OR LIKE "Fysio*" OR LIKE "Admin*" 然后 B 列 = 2.3。 表示搜索包含通配符的文本 * .
我只在执行这个简单查询时得到结果:
=IF(A2="doctor*";2.3;0)
有人知道如何解决这个问题吗?谢谢。
使用 functions that support regular expressions.
之一
=IF(ISERROR(SEARCH("doctor|Fysio|Admin";A2));0;2.3)
如果模式不匹配,SEARCH supports regular expressions, and ISERROR 处理错误。
我只在执行这个简单查询时得到结果:
=IF(A2="doctor*";2.3;0)
有人知道如何解决这个问题吗?谢谢。
使用 functions that support regular expressions.
之一=IF(ISERROR(SEARCH("doctor|Fysio|Admin";A2));0;2.3)
如果模式不匹配,SEARCH supports regular expressions, and ISERROR 处理错误。