Wrestled with this one for a while before deciding to ask the SFDC SE community's help: Basically, a formula field on a Child object is looking up a parent Object value
IF(( ISNULL(Foo__r.Foo_Views__c) ),
( Quoted_Rate__c * 1000 / Foo__r.Foo_Downloads__c ),
(( Quoted_Rate__c * 1000)/ Foo__r.Foo_Views__c )
)
When the Foo_Views__c is not Null, the formula correctly calculates the value-- and existing fields that effectively broke this formula into two fields prove this.
However, when the value is Null (and therefore true, the value returned is an #Error)
Is there some issue or unspoken rule I keep missing? Thanks!
Edit: to confirm, the Foo_Downloads__c field has a value populated for both the records I tested with, and a separate field populates a value just using this formula: ( Quoted_Rate__c * 1000 / Foo__r.Foo_Downloads__c ) This field's data type is Currency, and while our instance is only using one currency, could this be causing an issue?