You need to sign in to do that
Don't have an account?

formula fields - please help
I am new to this kind of formula field and I am having issues with this formula not applying the requested values to the different pick list options on multiple fields:
CASE( Store_in_Prime_Location__c , "Perfect location within strategic plan" ,20, "Good Area outside defined plan",10,0 ) +
CASE( Prepared_to_Relocate__c , "Yes this is the preferred location", 10 ,"Not the Prefered Location see Dealer Review file for further information",0, 0) +
CASE( External_Signage__c , "Average", 5, "Good", 10, "Outstanding" , 15 ,0) +
CASE( Rate_the_Street_Frontage__c , "Mid to small frontage with limited improvement possible", 5, "Mid-range frontage with potential to improve visibility", 10, "Strong Street Presence Clearly visible with high traffic", 15 , "Large Frontage 2 sides highly visible to all traffic" , 20 , 0) +
CASE( How_many_carparks_available__c , "Minimal Car Parking easily accessible", 5, "Ample Car Parks easily accessible", 10,0) +
CASE(Property_Status__c , "Owned", 5, 0)
I am hoping someone can point me in the right direction as I am lost as to where I am going wrong.
CASE( Store_in_Prime_Location__c , "Perfect location within strategic plan" ,20, "Good Area outside defined plan",10,0 ) +
CASE( Prepared_to_Relocate__c , "Yes this is the preferred location", 10 ,"Not the Prefered Location see Dealer Review file for further information",0, 0) +
CASE( External_Signage__c , "Average", 5, "Good", 10, "Outstanding" , 15 ,0) +
CASE( Rate_the_Street_Frontage__c , "Mid to small frontage with limited improvement possible", 5, "Mid-range frontage with potential to improve visibility", 10, "Strong Street Presence Clearly visible with high traffic", 15 , "Large Frontage 2 sides highly visible to all traffic" , 20 , 0) +
CASE( How_many_carparks_available__c , "Minimal Car Parking easily accessible", 5, "Ample Car Parks easily accessible", 10,0) +
CASE(Property_Status__c , "Owned", 5, 0)
I am hoping someone can point me in the right direction as I am lost as to where I am going wrong.
Can you please verify if your picklist field values for 'preferred location' and the 'street frontage' are having correct API names in the formula.
Hope this helps!
Thanks
All Answers
Can you please verify if your picklist field values for 'preferred location' and the 'street frontage' are having correct API names in the formula.
Hope this helps!
Thanks
I tried to replicate the issue with same picklist value and its working fine for me. It's not character issue as the custom values can take up to 255 characters. I doubt in the below points where its going wrong.
1. API Name, Please find the highlighted part of the image below as its confusing between actual value and API name. I hope you have the correct API names in your fomula.
2. Is your picklist value read correctly? To confirm please change your else values(default) to some randome value like 5000 for testing and see what is beign calculated for the selected picklist.
Example: 3. In case if its multi select picklist the formula should be changed.
Hope it helps!
Thanks
Also, your default picklist value on the picklist field can effect your result. If the default value is none thats fine but if you have some other value which is in the formula taking non-zero value as default it will be calculate based on that instead giving it "0".
Example: Picklist field -- Status
Picklist values - Open, Closed,Working.
Default - Open (If checked)
Formula for calculation is
Even if you select "None" in your picklist because you set your default value in the field level as Open it returns 20 instead of 0.
Thanks
Sure, Glad !! you were able to figure out the issue. Please mark response as best answer so that thread will be closed.
Good luck!
Thanks
Download Instagram Photos (https://www.onlineresizeimage.com/download-instagram-photos/)
Download Instagram Video (https://www.onlineresizeimage.com/download-instagram-video/)