Skip to main content
Hello,

 

I've created a custom object with 10 questions that all have a yes/no choice in the picklist field.  Example: If 7 of these questions have 'yes' answers, then the record would score a 70%.  How can I create a formula field to calculate this?

 

The custom fields have names like X1__c and there are only 10, but this is doing my head in.  

 

Thank you!
4 个回答
  1. 2019年7月2日 20:23
    Right! I forgot you used Picklist fields not check fields, change the formula to:

     

     

    IF(ISPICKVAL(X1__c,"YES"),0.1,0)

    +

    IF(ISPICKVAL(X2__c,"YES"),0.1,0)

    +

    IF(ISPICKVAL(X3__c,"YES"),0.1,0)

    ...

    Saludos, CM

0/9000