Excel 公式中的变音符号标准化,无需 VBA
如何使用正则公式将变音符号(重音字符)替换为相应的字母字符:=SUBSTITUTE(A1,"é","e")
,无需 VBA,适用于大范围的大写和小写变音符号,如下所示:
áàşầắằǡǻǟẫẵảşşẩẳạḁậặăâ =a
ÁÀşĀàÅĄşẤẦẮẰǠǺǞẪẴẢşşẨẲẠḀẬẶĂ = A
ḃƀɓḅḇ =b
ḂɃƁḄḆ = B
ćċĉčçşḉƈɔ =c
ĆĊĈČÇşḈƇƆ = C
ḋďḑđɗḍḓḏðɖ =d
ḊĎḐĐƊḌḒḎÐƉ =D
等。
How to replace diacritics (accented characters) with corresponding alphabetical character with regular formula: =SUBSTITUTE(A1,"é","e")
, without VBA, for large range of uppercase and lowercase diacritics like this:
áàȧäǎāãåąⱥấầắằǡǻǟẫẵảȁȃẩẳạḁậặăâ =a
ÁÀȦÄǍĀÃÅĄȺẤẦẮẰǠǺǞẪẴẢȀȂẨẲẠḀẬẶĂÂ = A
ḃƀɓḅḇ =b
ḂɃƁḄḆ = B
ćċĉčçȼḉƈɔ =c
ĆĊĈČÇȻḈƇƆ = C
ḋďḑđɗḍḓḏðɖ =d
ḊĎḐĐƊḌḒḎÐƉ =D
etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 Excel 2019(您正在使用的版本),这是相当困难的。我建议按照以下方式进行操作:
C1
中的公式:了解
SEARCH()
的限制(255 个字符)我选择仅包含小写变体,并通过IF()
、EXACT()
和UPPER()
等函数在公式中添加额外所需的智能。同样,这是一个 CSE 输入的数组公式。编辑:没有助手:
编辑2:使用所有小写变音符号:
With Excel 2019 (the version you are using) this is quite a stretch. I'd suggest something along the following lines:
Formula in
C1
:Understandig the limit of
SEARCH()
(255 chars) I opted to only include the lowercase variants and add the extra needed intelligence inside the formulae through functions likeIF()
,EXACT()
andUPPER()
. Again, this is an CSE-entered array formula.EDIT: Without helper:
EDIT2: With all lowercase diacritics: