I got this formula and I got stuck trying to make it work. How do I get the result to be compatible with a currency field? Any help would be greatly appreciated!
The error: Formula result is data type (Boolean), incompatible with expected data type (Currency).
Here is the formula:
IF(
VL__Transaction_Type__c = 'Dividend',
VL__Transaction_Type__c = TEXT(Dividend__r.Amount__c) ,
IF(
VL__Transaction_Type__c = 'Debt',
VL__Transaction_Type__c = TEXT(Debt__r.Principal__c ) ,
IF(
VL__Transaction_Type__c = 'Valuation',
VL__Transaction_Type__c = TEXT(Valuation__r.Fair_Market_Value__c),
IF(
VL__Transaction_Type__c = 'Share Activity',
VL__Transaction_Type__c = TEXT(Share_Activity__r.Capital_Committed__c),
IF(
VL__Transaction_Type__c = 'Repayment',
VL__Transaction_Type__c = TEXT(Repayment__r.Repaid_Principal__c + Repayment__r.Repaid_Interest__c),
ISBLANK(null)
)
)
)
)
)