如何搜索“在字符串 - EXCEL [英] How to search for " in string - EXCEL

查看:161
本文介绍了如何搜索“在字符串 - 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))

这篇关于如何搜索“在字符串 - EXCEL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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