---
title: "Use the COUNTBLANKOF Function to Count Blank Values in a Block"
slug: "countblankof-function"
description: "Learn to apply the COUNTBLANKOF function to identify empty cells in a Pigment Block, returning a numeric count."
updated: 2025-05-28T10:24:30Z
published: 2025-08-22T12:00:18Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pigment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# COUNTBLANKOF function

## ​​​Description

Counts the number of `BLANK` values of a Block.

## Syntax

`COUNTBLANKOF(Block)`

## Arguments

| Argument | Type | Dimensions | Description |
| --- | --- | --- | --- |
| *Block* (required) | Any | Any |  |

## Returns

| Type | Dimensions |
| --- | --- |
| Integer | No Dimension |

## Examples

Employee is a Dimension List:

| Formula | Result | Description |
| --- | --- | --- |
| `COUNTBLANKOF(Employee)` | 0 | For a List, no item is counted as `BLANK`. |
| `COUNTBLANKOF(Employee.Name)` | 1 | The Property Name contains 1 `BLANK` value. |

## See also

Excel: [COUNTBLANK](https://support.microsoft.com/en-us/office/countblank-function-6a92d772-675c-4bee-b346-24af6bd3ac22)

Related articles: [COUNTALLOF,](/v1/docs/countallof-function) [COUNTOF,](/v1/docs/countof-function) [COUNTUNIQUEOF](/v1/docs/countuniqueof-function)

> [!TIP]
> **More of a hands-on learner?**
> 
> Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment!

<style> p[data-block-id] {font-size:1rem;} ul li p[data-block-id] {margin-bottom: 0;} ul[data-type="taskList"] li div p[data-block-id] {margin-bottom: 0;} ol li p[data-block-id] {margin-bottom: 0;} table tbody th p[data-block-id] { margin-bottom: 0;} blockquote p[data-block-id] {margin-bottom: 0 !important;} &nbsp;p[data-block-id]:empty::after {content: "\00A0";} </style>
