function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
khushbu dubeykhushbu dubey 

What is mistake?.i want to calculate no of present if present is picklist field and values are yes and no

AND(ISPICKVAL( Present__c , 'yes'),VALUE( TEXT( Present__c ) ))

 
Mahesh DMahesh D
Hi Khushbu,

This is the condition may be used in formula or workflow rule.
Please let me know your actual requirement.

Regards,
Mahesh
William TranWilliam Tran
Your probably should be using the IF condition:

IF(logical_test, value_if_true, value_if_false)

 
IF(
ISPICKVAL( Present__c , 'yes'),
VALUE( TEXT( ???? )),
"")
Since Present__c is already "yes", it cannot be use as value also.

Thx