Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Use SWITCH to add a country flag in a record summary

Topic Labels: Formulas
2150 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Ewan_Farry
5 - Automation Enthusiast
5 - Automation Enthusiast

A formula field can be used to SWITCH a country name to it's corresponding flag emoji (full formula below)

This can be handy to add a visual cue to a country and works nicely when added in record summaries like below/

This formula will include your flag emoji and using \n you can list other record attributes with a new line

"☑️ " &{SOME_OTHER_FIELD}&"\n"&"☑️ "&{YOUR_COUNTRY_FIELD}&" "&{FLAG}

 Ewan_Farry_1-1678633769103.png

SWITCH for Flag

SWITCH(      {YOUR_COUNTRY_FIELD},
"Afghanistan", 	"🇦🇫",
"Åland Islands", 	"🇦🇽",
"Albania", 	"🇦🇱",
"Algeria", 	"🇩🇿",
"American Samoa", 	"🇦🇸",
"Andorra", 	"🇦🇩",
"Angola", 	"🇦🇴",
"Anguilla", 	"🇦🇮",
"Antarctica", 	"🇦🇶",
"Antigua & Barbuda", 	"🇦🇬",
"Argentina", 	"🇦🇷",
"Armenia", 	"🇦🇲",
"Aruba", 	"🇦🇼",
"Ascension Island", 	"🇦🇨",
"Australia", 	"🇦🇺",
"Austria", 	"🇦🇹",
"Azerbaijan", 	"🇦🇿",
"Bahamas", 	"🇧🇸",
"Bahrain", 	"🇧🇭",
"Bangladesh", 	"🇧🇩",
"Barbados", 	"🇧🇧",
"Belarus", 	"🇧🇾",
"Belgium", 	"🇧🇪",
"Belize", 	"🇧🇿",
"Benin", 	"🇧🇯",
"Bermuda", 	"🇧🇲",
"Bhutan", 	"🇧🇹",
"Bolivia", 	"🇧🇴",
"Bosnia & Herzegovina", 	"🇧🇦",
"Botswana", 	"🇧🇼",
"Bouvet Island", 	"🇧🇻",
"Brazil", 	"🇧🇷",
"British Indian Ocean Territory", 	"🇮🇴",
"British Virgin Islands", 	"🇻🇬",
"Brunei", 	"🇧🇳",
"Bulgaria", 	"🇧🇬",
"Burkina Faso", 	"🇧🇫",
"Burundi", 	"🇧🇮",
"Cambodia", 	"🇰🇭",
"Cameroon", 	"🇨🇲",
"Canada", 	"🇨🇦",
"Canary Islands", 	"🇮🇨",
"Cape Verde", 	"🇨🇻",
"Caribbean Netherlands", 	"🇧🇶",
"Cayman Islands", 	"🇰🇾",
"Central African Republic", 	"🇨🇫",
"Ceuta & Melilla", 	"🇪🇦",
"Chad", 	"🇹🇩",
"Chile", 	"🇨🇱",
"China", 	"🇨🇳",
"Christmas Island", 	"🇨🇽",
"Clipperton Island", 	"🇨🇵",
"Cocos (Keeling Islands", 	"🇨🇨",
"Colombia", 	"🇨🇴",
"Comoros", 	"🇰🇲",
"Congo - Brazzaville", 	"🇨🇬",
"Congo - Kinshasa", 	"🇨🇩",
"Cook Islands", 	"🇨🇰",
"Costa Rica", 	"🇨🇷",
"Côte d’Ivoire", 	"🇨🇮",
"Croatia", 	"🇭🇷",
"Cuba", 	"🇨🇺",
"Curaçao", 	"🇨🇼",
"Cyprus", 	"🇨🇾",
"Czech Republic", 	"🇨🇿",
"Czechia", 	"🇨🇿",
"Denmark", 	"🇩🇰",
"Diego Garcia", 	"🇩🇬",
"Djibouti", 	"🇩🇯",
"Dominica", 	"🇩🇲",
"Dominican Republic", 	"🇩🇴",
"Ecuador", 	"🇪🇨",
"Egypt", 	"🇪🇬",
"El Salvador", 	"🇸🇻",
"Equatorial Guinea", 	"🇬🇶",
"Eritrea", 	"🇪🇷",
"Estonia", 	"🇪🇪",
"Ethiopia", 	"🇪🇹",
"European Union", 	"🇪🇺",
"Falkland Islands", 	"🇫🇰",
"Faroe Islands", 	"🇫🇴",
"Fiji", 	"🇫🇯",
"Finland", 	"🇫🇮",
"France", 	"🇫🇷",
"French Guiana", 	"🇬🇫",
"French Polynesia", 	"🇵🇫",
"French Southern Territories", 	"🇹🇫",
"Gabon", 	"🇬🇦",
"Gambia", 	"🇬🇲",
"Georgia", 	"🇬🇪",
"Germany", 	"🇩🇪",
"Ghana", 	"🇬🇭",
"Gibraltar", 	"🇬🇮",
"Greece", 	"🇬🇷",
"Greenland", 	"🇬🇱",
"Grenada", 	"🇬🇩",
"Guadeloupe", 	"🇬🇵",
"Guam", 	"🇬🇺",
"Guatemala", 	"🇬🇹",
"Guernsey", 	"🇬🇬",
"Guinea", 	"🇬🇳",
"Guinea-Bissau", 	"🇬🇼",
"Guyana", 	"🇬🇾",
"Haiti", 	"🇭🇹",
"Heard & McDonald Islands", 	"🇭🇲",
"Honduras", 	"🇭🇳",
"Hong Kong", 	"🇭🇰",
"Hungary", 	"🇭🇺",
"Iceland", 	"🇮🇸",
"India", 	"🇮🇳",
"Indonesia", 	"🇮🇩",
"Iran", 	"🇮🇷",
"Iraq", 	"🇮🇶",
"Ireland", 	"🇮🇪",
"Isle of Man", 	"🇮🇲",
"Israel", 	"🇮🇱",
"Italy", 	"🇮🇹",
"Jamaica", 	"🇯🇲",
"Japan", 	"🇯🇵",
"Jersey", 	"🇯🇪",
"Jordan", 	"🇯🇴",
"Kazakhstan", 	"🇰🇿",
"Kenya", 	"🇰🇪",
"Kiribati", 	"🇰🇮",
"Kosovo", 	"🇽🇰",
"Kuwait", 	"🇰🇼",
"Kyrgyzstan", 	"🇰🇬",
"Laos", 	"🇱🇦",
"Latvia", 	"🇱🇻",
"Lebanon", 	"🇱🇧",
"Lesotho", 	"🇱🇸",
"Liberia", 	"🇱🇷",
"Libya", 	"🇱🇾",
"Liechtenstein", 	"🇱🇮",
"Lithuania", 	"🇱🇹",
"Luxembourg", 	"🇱🇺",
"Macau SAR China", 	"🇲🇴",
"Macedonia", 	"🇲🇰",
"Madagascar", 	"🇲🇬",
"Malawi", 	"🇲🇼",
"Malaysia", 	"🇲🇾",
"Maldives", 	"🇲🇻",
"Mali", 	"🇲🇱",
"Malta", 	"🇲🇹",
"Marshall Islands", 	"🇲🇭",
"Martinique", 	"🇲🇶",
"Mauritania", 	"🇲🇷",
"Mauritius", 	"🇲🇺",
"Mayotte", 	"🇾🇹",
"Mexico", 	"🇲🇽",
"Micronesia", 	"🇫🇲",
"Moldova", 	"🇲🇩",
"Monaco", 	"🇲🇨",
"Mongolia", 	"🇲🇳",
"Montenegro", 	"🇲🇪",
"Montserrat", 	"🇲🇸",
"Morocco", 	"🇲🇦",
"Mozambique", 	"🇲🇿",
"Myanmar (Burma", 	"🇲🇲",
"Namibia", 	"🇳🇦",
"Nauru", 	"🇳🇷",
"Nepal", 	"🇳🇵",
"Netherlands", 	"🇳🇱",
"New Caledonia", 	"🇳🇨",
"New Zealand", 	"🇳🇿",
"Nicaragua", 	"🇳🇮",
"Niger", 	"🇳🇪",
"Nigeria", 	"🇳🇬",
"Niue", 	"🇳🇺",
"Norfolk Island", 	"🇳🇫",
"North Korea", 	"🇰🇵",
"Northern Mariana Islands", 	"🇲🇵",
"Norway", 	"🇳🇴",
"Oman", 	"🇴🇲",
"Pakistan", 	"🇵🇰",
"Palau", 	"🇵🇼",
"Palestinian Territories", 	"🇵🇸",
"Panama", 	"🇵🇦",
"Papua New Guinea", 	"🇵🇬",
"Paraguay", 	"🇵🇾",
"Peru", 	"🇵🇪",
"Philippines", 	"🇵🇭",
"Pitcairn Islands", 	"🇵🇳",
"Poland", 	"🇵🇱",
"Portugal", 	"🇵🇹",
"Puerto Rico", 	"🇵🇷",
"Qatar", 	"🇶🇦",
"Réunion", 	"🇷🇪",
"Romania", 	"🇷🇴",
"Russia", 	"🇷🇺",
"Rwanda", 	"🇷🇼",
"Samoa", 	"🇼🇸",
"San Marino", 	"🇸🇲",
"São Tomé & Príncipe", 	"🇸🇹",
"Saudi Arabia", 	"🇸🇦",
"Senegal", 	"🇸🇳",
"Serbia", 	"🇷🇸",
"Seychelles", 	"🇸🇨",
"Sierra Leone", 	"🇸🇱",
"Singapore", 	"🇸🇬",
"Sint Maarten", 	"🇸🇽",
"Slovakia", 	"🇸🇰",
"Slovenia", 	"🇸🇮",
"Solomon Islands", 	"🇸🇧",
"Somalia", 	"🇸🇴",
"South Africa", 	"🇿🇦",
"South Georgia & South Sandwich", 	"🇬🇸",
"South Korea", 	"🇰🇷",
"South Sudan", 	"🇸🇸",
"Spain", 	"🇪🇸",
"Sri Lanka", 	"🇱🇰",
"St. Barthélemy", 	"🇧🇱",
"St. Helena", 	"🇸🇭",
"St. Kitts & Nevis", 	"🇰🇳",
"St. Lucia", 	"🇱🇨",
"St. Martin", 	"🇲🇫",
"St. Pierre & Miquelon", 	"🇵🇲",
"St. Vincent & Grenadines", 	"🇻🇨",
"Sudan", 	"🇸🇩",
"Suriname", 	"🇸🇷",
"Svalbard & Jan Mayen", 	"🇸🇯",
"Swaziland", 	"🇸🇿",
"Sweden", 	"🇸🇪",
"Switzerland", 	"🇨🇭",
"Syria", 	"🇸🇾",
"Taiwan", 	"🇹🇼",
"Tajikistan", 	"🇹🇯",
"Tanzania", 	"🇹🇿",
"Thailand", 	"🇹🇭",
"Timor-Leste", 	"🇹🇱",
"Togo", 	"🇹🇬",
"Tokelau", 	"🇹🇰",
"Tonga", 	"🇹🇴",
"Trinidad & Tobago", 	"🇹🇹",
"Tristan da Cunha", 	"🇹🇦",
"Tunisia", 	"🇹🇳",
"Turkey", 	"🇹🇷",
"Turkmenistan", 	"🇹🇲",
"Turks & Caicos Islands", 	"🇹🇨",
"Tuvalu", 	"🇹🇻",
"U.S. Outlying Islands", 	"🇺🇲",
"U.S. Virgin Islands", 	"🇻🇮",
"Uganda", 	"🇺🇬",
"Ukraine", 	"🇺🇦",
"United Arab Emirates", 	"🇦🇪",
"United Kingdom", 	"🇬🇧",
"United Nations", 	"🇺🇳",
"United States", 	"🇺🇸",
"Uruguay", 	"🇺🇾",
"Uzbekistan", 	"🇺🇿",
"Vanuatu", 	"🇻🇺",
"Vatican City", 	"🇻🇦",
"Venezuela", 	"🇻🇪",
"Vietnam", 	"🇻🇳",
"Wallis & Futuna", 	"🇼🇫",
"Western Sahara", 	"🇪🇭",
"Yemen", 	"🇾🇪",
"Zambia", 	"🇿🇲",
"Zimbabwe", 	"🇿🇼")

 

0 Replies 0