Formula to compute the value of Office__c is as follows.
CASE( Account__r.Office__c ,
"Americas","Americas",
"EMEA","EMEA",
"China", "China",
"Hongkong", "Hongkong",
"Taiwan", "Taiwan",
"Korea", "Korea",
"Japan", "Japan",
"India", "India",
"Australia", "Australia",
"Rest of APAC", "Rest of APAC",
"Corporate")
The following formula does not work. PQFMap__c is a custom setting hierarchy. I want to generate a single value relevant to a particular region's office. For example I can have Japan's value. This is the purpose to go with custom setting. I also tried this with CASE but the result was the same. Any help will be appreciable.
IF(Office__c = "Americas", $Setup.PQFMap__c.Americas__c,
IF(Office__c = "EMEA", $Setup.PQFMap__c.EMEA__c,
IF(Office__c = "Corporate", $Setup.PQFMap__c.Corporate__c,
IF(Office__c = "Australia", $Setup.PQFMap__c.Australia__c,
IF(Office__c = "China", $Setup.PQFMap__c.China__c,
IF(Office__c = "Hongkong", $Setup.PQFMap__c.Hongkong__c,
IF(Office__c = "Taiwan", $Setup.PQFMap__c.Taiwan__c,
IF(Office__c = "Korea", $Setup.PQFMap__c.Korea__c,
IF(Office__c = "Japan", $Setup.PQFMap__c.Japan__c,
IF(Office__c = "India", $Setup.PQFMap__c.India__c,
IF(Office__c = "Rest of APAC", $Setup.PQFMap__c.Rest_of_APAC__c,""
)))))))))))
Office__c
a formula field? If so, can you include it in the question.