Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I resolve the issue when using ISPICKVAL in formula?

Asked by Aashish Chaursiya Apr 18, 2023 998 views 1 answer
Share

About this question

 I have read the documentation and I am aware that picklist values need to use ISPICKVAL in the formula


I want this formula to show that If the status is 'A' or 'B' it will show the days (in numbers) for the first date if it isn't any of those statuses it will show the second.


IF(ISPICKVAL(Status, "A")  || ISPICKVAL(Status, "B")), Date1__c - TODAY(), Date2__c- TODAY()

How do I let the system choose whether to show the result of the first or second working out?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.