General syntax for IF fucntion is "IF(logical_test, value_if_true, value_if_false)". In your case you need to use ISPICKVAL function under IF function, General syntax for ISPICKVAL is "ISPICKVAL(picklist_field, text_literal)" Here the picklist_field = "StageName" , text_literal = "Closed Won". Below is the syntax for your condition:
IF(logical_test, value_if_true, value_if_false). Basically your IF function is testing the first condition, If that is TRUE (in this case StageName ="Closed Won"), then it will display your StageName is Closed won. If it isn't true then you are displaying nothing ("").
Kindly mark my solution as the best answer if it helps you.
to syntax for the IF fucntion is: IF(logical_test, value_if_true, value_if_false). Basically your IF function is testing the first condition, if that is TRUE (in this case StageName = Closed won)
Syntax for the IF fucntion is: IF(logical_test, value_if_true, value_if_false).
Please mark as Best Answer if above information was helpful.
Thanks,
Plesase use below code:-
this url will help for all types of formulas
https://blog.bessereau.eu/assets/pdfs/salesforce_useful_formula_fields.pdf (https://blog.bessereau.eu/assets/pdfs/salesforce_useful_formula_fields.pdf)
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
ISPICKVAL(StageName, "Closed Won"),
Thanks
vishnu
Hi Abhiraj,
General syntax for IF fucntion is "IF(logical_test, value_if_true, value_if_false)".
In your case you need to use ISPICKVAL function under IF function,
General syntax for ISPICKVAL is "ISPICKVAL(picklist_field, text_literal)"
Here the picklist_field = "StageName" , text_literal = "Closed Won".
Below is the syntax for your condition:
IF(ISPICKVAL( StageName, "Closed Won"), True,False).
Please mark as Best Answer if above information was helpful.
Thanks,
Prabhakar.T
Syntax for the IF fucntion is:
IF(logical_test, value_if_true, value_if_false). Basically your IF function is testing the first condition,
If that is TRUE (in this case StageName ="Closed Won"), then it will display your StageName is Closed won.
If it isn't true then you are displaying nothing ("").
Kindly mark my solution as the best answer if it helps you.
Thanks,
Syed Jabeena
Please use below code ,
Please mark as Best Answer if above information was helpful.
Thanks
Akhil Reddy
to syntax for the IF fucntion is: IF(logical_test, value_if_true, value_if_false). Basically your IF function is testing the first condition, if that is TRUE (in this case StageName = Closed won)