问题描述
我有一个列,人们手动输入电子邮件地址。我想使用以下公式验证电子邮件地址: = AND(FIND(@,A2),FIND ,A2),ISERROR(FIND(,A2)))
但excel出现您输入的公式包含错误的错误。对我来说,公式看起来不错你有什么建议吗?
我的代码有相同的错误,似乎你没有 双引号,这不同于这个符号:。
尝试我的拼写: = AND(FIND(@,A2),FIND(。,A2),ISERROR(FIND(,A2)))
- 希望会有帮助!
编辑:
另外,考虑使用 = AND(NOT (ISERROR(FIND(@,A1))),NOT(ISERROR(FIND(。,A1))),ISERROR(FIND(,A1)))
防止 @
或。
中的错误。但是,这将传递给OK aaa @。
,但我认为即使这样简单的方法有权利使用)
I have a column where people enter email address manually. I want to validate the email address using this formula:
=AND(FIND("@",A2),FIND(".",A2),ISERROR(FIND(" ",A2)))
but excel comes up with error that the formula you typed contains an error. For me the formula looks right. Do you guys have any suggestions?
I got the same error for your code, and it appears that you have NOT "plain" double quotes, that is different from this symbol: "
.
Try my spelling: =AND(FIND("@",A2),FIND(".",A2),ISERROR(FIND(" ",A2)))
- hope will help!
EDIT:
In addition, consider to use =AND(NOT(ISERROR(FIND("@",A1))),NOT(ISERROR(FIND(".",A1))),ISERROR(FIND(" ",A1)))
- that will prevent errors in case @
or .
are missing. Still, this will pass as OK aaa@.
, but I suppose even such straightforward approach has rights to be used)
这篇关于excel电子邮件验证公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!