-
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 Financial Service Cloud for Insurance Brokerages to Programmed Process
Salesforce Financial Service Cloud for Insurance Brokerages to Streamline Processes Salesforce has launched the Financial Service Cloud (FSC) for insurance brokerages, an AI-powered solution aimed…
Salesforce Lightning Component Framework - Learn All About it Here
Introduction The Lightning Component Framework is a UI framework for developing single-page applications for mobile and desktop devices. It uses JavaScript on the client side…
What are Lightning Record Pages in Salesforce? | All You Need to Know
Lightning Record Pages and Assignment Layouts are two important features of Salesforce that help users customize their experience and streamline their workflow. In this blog…
Popular Salesforce Videos
Step-by-Step Guide to Implementing Einstein Chatbot in Salesforce
Watch this video to learn about the following: Introduction to Einstein Chatbot and its capabilities. Prerequisites for setting up the chatbot in your Salesforce environment.…
How To Set Up DKIM Key In Salesforce?
If you use Salesforce for sending emails, we highly recommend setting up DKIM authentication to sign your outgoing messages and improve their deliverability and trustworthiness.…
Winter '21 Release | Salesforce Tutorial Video
The Sandbox Preview window for Winter '21 begun on September 11, 2020. You must have an active sandbox on a preview instance before then to…