Salesforce Formula Interview Questions check how well you write formulas for fields, validation rules, reports and flows, plus the limits every admin should know. This is Part 10 of our 25-part series.
In Part 3, we covered formula fields at a basic level. Here we go deeper into functions, special variables and common limits. Our formula fields guide and REGEX guide are good companions.
How to Use These Salesforce Formula Interview Questions
Write each formula on paper before you answer. Interviewers often ask you to “say the formula out loud”, so practise a few common ones until you can explain them line by line. Also learn the main limits, because “what is the limit of” questions are easy points.

Salesforce Formula Interview Questions on Formula Basics
Study with Formula Fields.
- What is a formula field?
- Where else can you use formulas besides fields?
- What return types can a formula have?
- What is the character limit of a formula?
- Define the compiled size limit of a formula.
- Does a formula field store data?
- When does a formula field recalculate?
- Can a formula field reference another formula field?
- What happens to a formula when a referenced field is deleted?
- What is the difference between “Treat blank fields as zeroes” and “as blanks”?
- Can you use a formula field as a filter in a roll-up summary?
- Can you index a formula field?
- Why can formula fields slow down reports on large objects?
- Scenario: a formula is too long to save. What do you do?
- Scenario: a formula shows #Error! on some records. How do you fix it?
Text Functions Questions
Study with Formula Fields.
- What does the TEXT() function do?
- What do LEFT, RIGHT and MID do?
- Briefly, what does LEN return?
- What do UPPER and LOWER do?
- What does TRIM do?
- Briefly, what does SUBSTITUTE do?
- What does CONTAINS do?
- What does BEGINS do?
- Briefly, what does FIND return?
- How do you join two text fields?
- What does HYPERLINK do?
- What does IMAGE do?
- Briefly, what does ISPICKVAL do, and why is it needed?
- What does ISNUMBER do?
- What does LPAD do?
- Briefly, what does RPAD do?
- What does INCLUDES do with a multi-select picklist?
- Scenario: show a full name from First Name and Last Name. Write the formula idea.
- Scenario: show a clickable link to a Google search for the account name. Which function do you use?
Salesforce Formula Interview Questions on Date and Time Functions
Study with Formula Fields.
- What is the difference between TODAY() and NOW()?
- How do you add days to a date?
- How do you add months to a date?
- What does DATEVALUE do?
- What does DATETIMEVALUE do?
- Briefly, what do YEAR, MONTH and DAY return?
- What does WEEKDAY return?
- How do you find the number of days between two dates?
- How do time zones affect date and time formulas?
- What does TIMEVALUE do?
- What does ADDMONTHS do?
- Briefly, what does DATE() build?
- How do you get the first day of the month?
- How do you check if a date is in this year?
- Scenario: show the number of days until a course starts. Write the formula idea.
- Scenario: show “Overdue” when the due date is in the past. Write the formula idea.
Logical Functions Questions
Study with Validation Rules.
- What does IF do?
- What does CASE do, and when is it better than IF?
- Briefly, what do AND, OR and NOT do?
- What does ISBLANK do?
- What does ISNULL do, and why is ISBLANK preferred?
- Briefly, what does BLANKVALUE do?
- What does NULLVALUE do?
- What does ISCHANGED do?
- Briefly, what does ISNEW do?
- What does PRIORVALUE do?
- Where can ISCHANGED and PRIORVALUE be used?
- How do you nest IF statements safely?
- What is the maximum nesting you should use before switching to CASE?
- What does ISCLONE do?
- Scenario: show High, Medium or Low based on fee ranges. IF or CASE?
- Scenario: a rule must fire only when the Stage changes to Closed Lost. Write the idea.
Salesforce Formula Interview Questions on Math and Number Functions
Study with Formula Fields.
- What do ROUND, CEILING and FLOOR do?
- What does MOD return?
- Briefly, what do MAX and MIN do?
- What does ABS do?
- What does VALUE do?
- How do you calculate a percentage in a formula?
- How do you avoid dividing by zero?
- What is the difference between a currency and a number return type?
- What does SQRT do?
- Briefly, what does EXP do, at a high level?
- How do you round to two decimal places?
- Scenario: calculate a discounted fee from Fee and Discount Percent. Write the idea.
- Scenario: a percent formula shows 5000% instead of 50%. Why?
Special Variables and Cross-Object Formulas Questions
Study with Cross-Object Formulas.
- What is a cross-object formula?
- How many levels up can a cross-object formula go?
- What is $User used for?
- What is $Profile used for?
- Explain what $UserRole is used for.
- What is $Setup used for?
- What is $Label used for?
- Explain what $CustomMetadata is used for.
- What is $Permission used for?
- What is $Organization used for?
- Briefly, what does CASESAFEID do?
- What does REGEX do, and where can you use it?
- What does GETRECORDIDS do, at a high level?
- Explain what $Api is used for.
- What does VLOOKUP do in a validation rule?
- Scenario: a validation rule must skip users with a custom permission. Which variable do you use?
- Scenario: show the account owner manager name on a case. Is it possible?

Salesforce Formula Interview Questions on Validation Rule Formulas
Study with Validation Rules.
- When does a validation rule show its error?
- How do you make a field required only for one stage?
- How do you stop a past start date for new records only?
- Explain how you check that the end date is after the start date.
- How do you stop users from changing a field after it is set?
- How do you check a phone number format?
- Explain how you check that a picklist value is chosen.
- How do you allow an admin to bypass a rule?
- How do you write a rule that checks a related record field?
- Explain how you write a rule that runs only for one record type.
- How do you stop a status from moving backwards?
- How do you require a reason when a deal is lost?
- Scenario: the discount cannot be more than 20% unless the user is a manager. Write the idea.
- Scenario: a closed deal must not be edited by reps. Write the idea.
Report and Flow Formulas Questions
Study with Report Formulas.
- What is a summary formula in a report?
- What is a row-level formula in a report?
- Briefly, what does PARENTGROUPVAL do?
- What does PREVGROUPVAL do?
- What is a formula resource in Flow?
- How is a flow formula different from a field formula?
- Can you use a formula in flow entry conditions?
- Scenario: show each rep share of the team total in a report. Which function do you use?
- Scenario: a flow must calculate a due date seven business days later. What is your approach?
Salesforce Formula Interview Questions on Limits Every Admin Should Know
Study with Order of Execution.
- How many custom fields can an object have, and what controls it?
- How many master-detail relationships can an object have?
- Briefly, how many relationship fields can an object have?
- How many roll-up summary fields can an object have?
- How many fields can you track with field history?
- Briefly, how long does the Recycle Bin keep records?
- How many records can the Data Import Wizard load?
- What is the daily limit for Web-to-Lead?
- What is the daily limit for Web-to-Case?
- How often can you refresh a Full sandbox?
- What is a governor limit, and why does it exist?
- What does “Too many SOQL queries: 101” mean?
- How many validation rules can an object have?
- What is the formula size limit?
- How many custom objects can an org have, and what affects it?
- Scenario: an interviewer asks a limit you do not remember. What do you say?
- Scenario: an object is close to its custom field limit. What do you do?
Salesforce Formula Interview Questions FAQ
Do I need to memorise every limit?
No. Know the common ones and say you would confirm others in Salesforce Help. Limits also change between editions.
Will I be asked to write a formula live?
Often, yes. Practise five common formulas until you can write them without help.
Official Resources
Quick Recap
- These Salesforce Formula Interview Questions cover text, date, logical and math functions, variables and limits.
- Use ISBLANK, not ISNULL, for most checks.
- Learn $User, $Permission and $CustomMetadata.
- Practise five common formulas aloud.
- Know the common limits and say when you would check Help.
What’s Next?
Continue with the next part. Read Experience Cloud Interview Questions for Salesforce Admins (Part 11).


