例如,在单元格 A1 中,我有产品代码 BW224
在 B1 中,我有 =RIGHT(A1,3)
因为我只想要数字。公式的结果是 224
在 C1 中,我有 ISNUMBER(B1)
,返回 FALSE
为什么会这样,我该如何解决?
这是一个过于简单的例子,但如果我能绕过上面的方法,我可以适应它。我的实际工作表需要(在伪代码中):
Take the 3 right-most numerical characters of a target cell and output them to the current cell, if the target cell contains junk like "zzzzzz" or anything other than a proper product code (like in A1), the output of the formula needs to be blank or 0
最佳答案
使用=ISNUMBER(VALUE(B1))
在 C1
另请查看 =ISNUMBER(VALUE(A1))
这将是 FALSE
关于excel - ISNUMBER 为只有数字的单元格返回 FALSE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43522783/