I have the below formula which I want to show percent completed. 3 possible vlaues for picklist are NA, pending and completed. So I want to show of the number of completed / number of pending + completed (aka number that are NOT N/a)
(IF(ISPICKVAL(Report_Set__c,'COMPLETED'),1,0))+(IF(ISPICKVAL(Limits_Set__c,'COMPLETED'),1,0))
If I click report_set__c to completed and the other to pending, I get 1.
And the below, with the same values, gives me 2.
(IF(ISPICKVAL(Report_Set__c,'N/A'),0,1))+(IF(ISPICKVAL(Limits_Set__c,'N/A'),0,1))
But 1 / 2 equals 200%? Bc that's what I get with the below formula!
(IF(ISPICKVAL(Report_Set__c,'COMPLETED'),1,0))+(IF(ISPICKVAL(Limits_Set__c,'COMPLETED'),1,0))
/
(IF(ISPICKVAL(Report_Set__c,'N/A'),0,1))+(IF(ISPICKVAL(Limits_Set__c,'N/A'),0,1))