Counts the number of empty cells in a specified range of cells.
この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
COUNTBLANK(range)The COUNTBLANK function identifies cells that contain no data, including cells that appear empty but contain formulas returning an empty string. It is commonly used to audit datasets for missing values or incomplete entries.
=COUNTBLANK(A1:A5)結果: 2
If cells A1, A3, and A5 contain data, and A2 and A4 are empty, the result is 2.
No, cells containing a space are considered non-blank and are not counted.