I have a column (Country) in Sharepoint with the name of countries. I want to create another calculated column that separates the Countries by regions as follows:
Latin American countries received the value "LAA" Countries in North America received the value "NAA" Countries in Europe received the "EMEA" value And countries in Asia received the value "APAC"
I created the following formula for this:
=IF(OR([Country]="Argentina",[Country]="Bolivia",[Country]="Brazil",[Country]="Chile",[Country]="Colombia",[Country]="Costa Rica",[Country]="Cuba",[Country]="Dominican Republic",[Country]="Ecuador",[Country]="El Salvador",[Country]="Guatemala",[Country]="Haiti",[Country]="Honduras",[Country]="Jamaica",[Country]="Mexico",[Country]="Nicaragua",[Country]="Panama",[Country]="Paraguay",[Country]="Peru",[Country]="Puerto Rico",[Country]="Trinidad and Tobago",[Country]="Uruguay",[Country]="Venezuela"),"LAA",IF(OR([Country]="Canada",[Country]="United States"),"NAA",IF(OR([Country]="Austria",[Country]="Belgium",[Country]="Bulgaria",[Country]="Croatia",[Country]="Cyprus",[Country]="Czech Republic",[Country]="Denmark",[Country]="Estonia",[Country]="Finland",[Country]="France",[Country]="Germany",[Country]="Greece",[Country]="Hungary",[Country]="Iceland",[Country]="Ireland",[Country]="Italy",[Country]="Latvia",[Country]="Liechtenstein",[Country]="Lithuania",[Country]="Luxembourg",[Country]="Malta",[Country]="Monaco",[Country]="Netherlands",[Country]="Norway",[Country]="Poland",[Country]="Portugal",[Country]="Romania",[Country]="Slovakia",[Country]="Slovenia",[Country]="Spain",[Country]="Sweden",[Country]="Switzerland",[Country]="United Kingdom"),"EMEA",IF(OR([Country]="Afghanistan",[Country]="Bangladesh",[Country]="Bhutan",[Country]="Brunei",[Country]="Cambodia",[Country]="China",[Country]="India",[Country]="Indonesia",[Country]="Japan",[Country]="Kazakhstan",[Country]="Kyrgyzstan",[Country]="Laos",[Country]="Malaysia",[Country]="Maldives",[Country]="Mongolia",[Country]="Myanmar",[Country]="Nepal",[Country]="North Korea",[Country]="Pakistan",[Country]="Philippines",[Country]="Singapore",[Country]="South Korea",[Country]="Sri Lanka",[Country]="Taiwan",[Country]="Tajikistan",[Country]="Thailand",[Country]="Turkmenistan",[Country]="Uzbekistan",[Country]="Vietnam"),"APAC","Region undefined")
However, this formula has a syntax error. Can you help me to correct it please?