For custom formula fields, there is a Blank Field Handling section.
In Lightning, this section is accessible when you select Setup| Object Manager | [object] | Fields and Formulas. Object Manager is next to the Home tab in Lightning after selecting Setup.
Click Edit on the formula field and select the Advanced tab. The Blank Field Handling option is used if your formula references any number, currency, or percent fields. You can specify what happens to the formula output when their values are blank.
The two options under the Advanced tab are:
To give any blank fields a zero value, choose Treat blank fields as zeros. To leave these fields blank, choose Treat blank fields as blanks.
Scenario
One possible scenario where the Blank Field Handling might be configured incorrectly is if you notice the formula field displaying blank values when you need it to calculate a value.
Example:
From your calculations, when you subtract the two fields above, '1.0' - blank(null) value = '1.0'. The result in this formula field on record will display a value differently based on how you configure the Blank Field Handling section.
From the example above, here are your two outcomes depending on your selection of Blank Field Handling:
To avoid blank values resulting for formula calculations, it is recommended to select Treat blank fields as zeroes to always display a value for a formula field but this is completely dependent on your business needs.
Formula Operators and Functions by Context
All Formula Operators and Functions
For help with your specific formula, visit the Trailblazer Community on Formulas.
000381641

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.