- Formula field {Allocation Form Recipients} = IF({Send Allocation Form},{Conditional Recipients Rollup (from Payment Schedule)})
where {Conditional Recipients ...} is a rollup field and {Send Allocation Form} is a checkbox field. - Formula field {Approval Email Subject Tag} = IF( AND({Term Deal},{Allocation Form Recipients}), 'Recoupment Allocation', 'Payment' )
where {Term Deal} field is a rollup and {Allocation Form Recipients} is a formula field which I explained in #1. - When the {Term Deal} rollup is empty and the {Allocation Form Recipients} formula field is also empty, the {Approval Email Subject Tag} should show 'Payment' but it shows 'Recoupment Allocation'.
- I tried to troubleshoot this by creating 2 separate formula fields stated below:
a. _check = IF({Term Deal},1,0)
b. _check copy = IF({Allocation Form Recipients},1,0)
Surprisingly, these 2 formula fields work as expected. Meaning where Term Deal is blank _check is 0. When {Allocation Form Recipients} is blank, _check copy is 0.
However, for the same row, the {Approval Email Subject Tag} field o/p is 'Recoupment Allocation'.
I'm unable to understand why is there such discrepancy when individual fields are returning 0.
Question
Unexpected behavior of AND() in a formula field
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

