-
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
Setting SSO between Salesforce and Okta’s Custom Application using SAML 2.0 protocol
1. SSO(Single Sign On between Okta as Identity Provider and Salesforce as Service Provider) Steps to setup SSO between Salesforce and Okta:- Log in to…
Salesforce Platform API Versions 21.0 thru 30.0
Summer '22 will see a further set of API versions being retired - up to and including v30.0. SOAP: 21.0, 22.0, 23.0, 24.0, 25.0, 26.0,…
Salesforce Data Cloud: Features & Use Cases
Salesforce Data Cloud, formerly known as Salesforce Data.com, is a robust data-as-a-service platform provided by Salesforce, one of the world’s leading customer relationship management (CRM)…
Popular Salesforce Videos
Getting started with salesforce
Salesforce is a customer relationship management solution that brings companies and customers together. It's one integrated CRM platform that gives all your departments — including…
Multipurpose VF Component to Add Multiple Records on a Button's Click | Salesforce Tutorials
In this video, I will create a multipurpose VF component to add Contact records in a list on the click of a button then I…
Salesforce Document Automation
Salesforce recently announced the release of an Intelligent Document Automation tool aimed at allowing healthcare and life sciences companies to digitize document-management processes. The tool,…