Salesforce BLANKVALUE Function

The BLANKVALUE function in Salesforce checks whether a field is blank and, if it is, returns a value you choose instead. It is the standard way to show “Not provided” for an empty text field, fall back to a second field, or give a date a default in a formula field.

In this tutorial, I will explain the syntax, show results I tested in a Salesforce Developer Edition org, compare BLANKVALUE with NULLVALUE and ISBLANK, and answer a question many people search for: how to return a blank value, since Salesforce has no BLANK() function.

This Tutorial Covers: