Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想弄清楚是否有一种方法可以在一系列单元格中搜索某个数字?例如=SEARCH(M5,A:A). 这会返回#VALUE!错误。有人有这方面的经验吗?
=SEARCH(M5,A:A)
#VALUE!
您可以使用 COUNTIF 函数来计算指定值的范围。然后,您可以将 COUNTIF 函数包装在 IF 语句中以显示更好的消息
=IF(COUNTIF(YOUR_RANGE, YOUR_CRITERIA) = 1, "Found", "Not Found")