-
How to do multiple if else statements in a formula field?
I have a picklist on my Contracts object, and the possible values are: 'contract type a', 'contract type b, 'contract type n', etc.... I want to setup a formula field where, If 'contract type a' is selected, then the value of the formula field is "x". If 'contract type b' is selected, then the value should be 'y', so on and so forth. If no value is selected, it should be '0'.
I can get one If else to work, but am having trouble adding in the other conditions. Any help is much appreciated!
Log In to reply.
Popular Salesforce Blogs
Salesforce Ant Migration Tool - The Complete Guide
Ant Migration Tool is one of the three tools available for Salesforce deployment and it is a totally Java based command line for moving metadata…
Order of Execution in Salesforce
Order of execution in salesforce is like an ABC in Salesforce World, make sure you should understand:- System Validation rule(required field, field format). Before Trigger…
Popular Salesforce Videos
Building a Custom UI with Lightning Web Components | Salesforce Tutorial
Lightning Web Components is a modern JavaScript framework that leverages the web standards breakthroughs over the past few years. Watch this session to understand how…
Salesforce Consulting - WHAT YOU NEED TO KNOW
If you're already working as a Salesforce Professional or you're interested in where your Salesforce Career will take you this is for you. This explains…
Salesforce Einstein Activity Capture Guide
Have you ever had issues maintaining accurate, up-to-date information between your Salesforce org and your clients? Einstein Activity Capture is here to work for you…