Counts the number of empty cells in a specified range of cells.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
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)Kết quả: 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.