Comparing a cell to "" (empty string) detects blanks. IF then returns your placeholder for empties and the original value otherwise — useful for clean reports and avoiding gaps.
=IF(B2="", "—", B2)→—空のセルをダッシュに置き換えます。
数式のエラーもキャッチする
=IFERROR(A2, "Missing")A2 がエラーの場合にフォールバック値を返します。
ISBLANK is TRUE only for truly empty cells; ="" also treats zero-length strings (from formulas) as blank. Pick based on your data.
独自のデータに対応する数式が必要ですか?
やりたいことを普段使っている言葉で説明するだけで、ExcelGPTが数式の作成、解説、検証を行います。無料で開始でき、プラグインも不要です。