LoginSignup
4

More than 5 years have passed since last update.

VLOOKUPでN/Aとか0とか出さないようにする

Posted at

VLOOKUPは
* ヒットしないとN/A
* ヒットして空欄だと0

が出て見てくれが大事なときは微妙なので、
IFERRORと小技(VLOOKUP結果値に空文字を結合する)で吸収すると良いです。

=IFERROR(VLOOKUP(検索値,範囲,列番号,検索方法) &"","任意のヒットしてないよ系メッセージ")

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4