Salesforce Certified Advanced Administrator Exam: Formula Field Character Limit

Formula Field Character Limit

Question

How many characters can a formula field contain? Select all that apply:

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

Explanation/Reference: To optimize, use CONTAINS first, then CASE, then IF.

The maximum character limit for a formula field depends on the data type of the field and the version of Salesforce being used. Here are the character limits for formula fields in Salesforce:

  • For text, phone, and URL data types: 5,000 characters
  • For long text area data types: 131,072 characters
  • For number data types: 1,310 characters
  • For date, time, and date/time data types: 1,000 characters
  • For currency data types: 18 characters before the decimal and 15 after the decimal, for a total of 33 characters
  • For percent data types: 16 characters before the decimal and 14 after the decimal, for a total of 30 characters

Therefore, the correct answers to the question are:

B. 500 C. 1000

Option A is incorrect because a formula field can have more than 200 characters.

Option D is incorrect because the maximum character limit for any formula field is 5,000 characters, and 3900 is below this limit.

Note that the character limits mentioned above are as of my knowledge cutoff date, September 2021. It's possible that Salesforce may have updated these limits since then.