You need to sign in to do that
Don't have an account?
Max75
Multiple IF statements and MID function
Hi guys.
I'm struggling with a formula:
IF( Sales_Company__c = "FI", MID(ProductCode, 4, 12), ProductCode)
Now I need to add in another parameter in Sales Company. It should be both A1 and FI.
I think I'm blanking out here.
I'm struggling with a formula:
IF( Sales_Company__c = "FI", MID(ProductCode, 4, 12), ProductCode)
Now I need to add in another parameter in Sales Company. It should be both A1 and FI.
I think I'm blanking out here.
IF( OR(Sales_Company__c = "AI",Sales_Company__c = "FI"), MID(ProductCode, 4, 12), ProductCode)
Refer the formula related articles worth to go through for more help: https://help.salesforce.com/articleView?id=customize_functions.htm&type=5
Choose this reply as best answer if solves your problem.
Cheers!!
All Answers
IF( OR(Sales_Company__c = "AI",Sales_Company__c = "FI"), MID(ProductCode, 4, 12), ProductCode)
Refer the formula related articles worth to go through for more help: https://help.salesforce.com/articleView?id=customize_functions.htm&type=5
Choose this reply as best answer if solves your problem.
Cheers!!
Using the suggested formula gives the correct value when Sales Company is FI but not when A1.
Suggestion?
Thank you so much! True superstar!