Counts the number of empty cells in a specified range of cells.
פונקציה זו פועלת ב-Google Sheets בדיוק כמו ב-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.