How to use wildcards in mso excel xlookup

From 清冽之泉
Revision as of 11:09, 17 January 2025 by Mwroot (talk | contribs)
Jump to navigation Jump to search

Excel 中结合 XLOOKUP 与通配符,将产生强大的生产力。以下讲讲在 XLOOKUP 中使用通配符的关键:

=XLOOKUP("*"&C3,$A$2:$A$51,$D$2:$D$51,"没找着",2,1)

诀窍在于用双引号把通配符引起来,用 & 把通配符与单元格连起来,第五个参数匹配模式选 2。

通配符:

* 任意个数的任意字符
? 单个字符
~ 用于转义