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")