如何使这个 IFERROR(OR 函数起作用?
我有一个 Excel 工作表,如果不满足语句条件,我想在某些单元格中创建错误消息。
这是单元格内容
A1 = 使用格式粘贴图像源
B1 = IFERROR(OR(FIND("=",A1),(FIND("1",A1)),LEN(A1)),("A1 必须包含等号或 1"))
B2 = =IFERROR(OR(FIND("=",A2),(FIND("1",A2)))*LEN(A2),"A1 必须包含等号或 1")< /p> <小时> <块引用>
B1 == 我的目标是让它说“A1 必须包含...”IF = 或 1 存在,但目前,它仅在 = 和 1 都存在时才有效。
B2 == 仅当 = 和 1 都存在时,此单元格的行为才给出长度。
有什么建议吗?
I have an Excel Worksheet that I would like to create an error message in certain cells if a statement is condition is not met.
Here are the cells contents
A1 = Paste your image source with the format
B1 = IFERROR(OR(FIND("=",A1),(FIND("1",A1)),LEN(A1)),("A1 must contain either an equals sign or a 1"))
B2 = =IFERROR(OR(FIND("=",A2),(FIND("1",A2)))*LEN(A2),"A1 must contain either an equals sign or a 1")
B1 == My goal is to have it say "A1 must contain..." IF = or 1 exists, but currently, it only works if both = and 1 are present.
B2 == The behavior for this cell gives me the length only when both = and 1 are present.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个
Try This