如何搜索“在字符串

编程入门 行业动态 更新时间:2024-10-28 08:18:12
本文介绍了如何搜索“在字符串 - EXCEL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 这是一个棘手的问题,我坚持下去。在Excel 2010中,我想搜索一个字符串,字符。我使用公式

= FIND(A1,text,1)

A1字符串中的文本的编号(起始位置),如果未找到,则为错误。

如何搜索在公式中?

感谢您的建议!

解决方案

尝试修改您的公式搜索Char(34),认为这将有助于可读性,而不是在您的公式中有10,000个引号。

= IF (FIND(CHAR(34),A1))

This is a tricky one I am stuck on. In Excel 2010 I want to search a string for the character ". I am using the formula

=FIND(A1,"text", 1)

which will return a number (starting position) of "text" in A1 string, or an error if not found.

How to search for " in the formula?

Thanks for the advice!

解决方案

Try amending your formula to search for Char(34), think this will help with readability instead of having 10,000 quotes in your formula.

=IF(COUNT(FIND(CHAR(34),A1))

更多推荐

如何搜索“在字符串

本文发布于:2023-06-09 06:30:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/596880.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字符串

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!