我如何识别“#VALUE!"?在 Excel 电子表格中? [英] How do I recognize "#VALUE!" in Excel spreadsheets?

查看:36
本文介绍了我如何识别“#VALUE!"?在 Excel 电子表格中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个公式,如果单元格 A1 显示 #VALUE!,则在单元格 B1 中说 TRUE.

I'd like to write a formula such that if cell A1 displays #VALUE!, say TRUE in cell B1.

这是我在单元格 B1 中的公式:

Here's my formula in cell B1:

=IF(A1="#VALUE!", "TRUE", "FALSE")

当 A1 没有说 #VALUE! 时,我得到 FALSE,所以这部分没问题.但是,当它确实说 #VALUE! 时,当我希望它说 TRUE 时,我会在单元格 B1 中收到 #VALUE! 错误.我该怎么做?

I get FALSE when A1 does not say #VALUE! so that part is fine. But, when it does say #VALUE!, I get a #VALUE! error in cell B1, when I want it to say TRUE. How do I do this?

推荐答案

使用 IFERROR(value, value_if_error)

这篇关于我如何识别“#VALUE!"?在 Excel 电子表格中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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