In the above Formula field(Country Code),
if the the Country picklist value is ‘India’, then Country code will be ‘IND’,
else if the the Country picklist value is ‘United States of America’, then Country code will be ‘USA’,
else if the the Country picklist value is ‘China’, then Country code will be ‘CHN’,
else it will be blank.
Output: