COUNTBLANK function
Distinguish missing shift inputs from zero.
Statistical
Where can you use it?
Analytics, quality and research teams. Use this group to examine distributions, variability or relationships in measurements, sales or service durations.
Scenario in the workbook
Count missing inputs. A filled zero does not count as blank.
A worked example from the workbook
| Row | A | B | C |
|---|---|---|---|
| 6 | Period 1 | Period 2 | Period 3 |
| 7 | 2 | Pending | 3 |
| 8 | — | 0 | 9 |
| 9 | — | Open | — |
Record 1
=COUNTBLANK(A7:C7)Expected result0
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=COUNTBLANK(B2:B4)Turkish Excel · tr-TR
=BOŞLUKSAY(B2:B4)Example and expected result
Enter 8 in B2 and 0 in B4. Leave B3 empty. Zero remains a number. Formulas returning empty text count as blank.
Expected result 1.
Worked examples
Count missing inputs. A filled zero does not count as blank.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B | C |
|---|---|---|---|
| 6 | Period 1 | Period 2 | Period 3 |
| 7 | 2 | Pending | 3 |
| 8 | — | 0 | 9 |
| 9 | — | Open | — |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =COUNTBLANK(A7:C7) |
0 |
| Record 2 | =COUNTBLANK(A8:C8) |
1 |
| Record 3 | =COUNTBLANK(A9:C9) |
2 |