You need to sign in to do that
Don't have an account?
Rudi Ornelas
Picklist driven address
Hi, Team,
I'm trying to get this formula field finalized, however, it keeps populating the shipping value no matter what the picklist selection is. So, it always default to shipping city. The logic should go if type = hospital populate ShippingCity, else, populate BillingCity
I'm trying to get this formula field finalized, however, it keeps populating the shipping value no matter what the picklist selection is. So, it always default to shipping city. The logic should go if type = hospital populate ShippingCity, else, populate BillingCity
IF( OR( ISPICKVAL(Type, "Hospital"), ISBLANK(TEXT(Type)) ), ShippingCity, BillingCity )
You have metioned one more condtion in formula ISBLANK(TEXT(Type)) which is in OR condtion. So ShippingCity will be populated eiether the Type is "Hospital" or if you don't have any value in Type.
If you want only the Shipping city should be populated when Type is "Hospital" then remove the Type Blank check from your formula. So you will get the BillingCity when the type is not Hospital.
Thanks,
Maharajan.C
All Answers
You have metioned one more condtion in formula ISBLANK(TEXT(Type)) which is in OR condtion. So ShippingCity will be populated eiether the Type is "Hospital" or if you don't have any value in Type.
If you want only the Shipping city should be populated when Type is "Hospital" then remove the Type Blank check from your formula. So you will get the BillingCity when the type is not Hospital.
Thanks,
Maharajan.C