ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Excel formula

Sarath27
アステロイド

Hi All,

 

I tried to transform the below excel formula in Alteryx, but it turned out to with an error, pls advise.

 

=IFERROR(IF(G4=TRUE,(AH4-AN4)*VLOOKUP(U4,'FX Rates'!$A:$C,3,FALSE),IF(H4=TRUE,(AH4+AN4+AI4)*VLOOKUP(U4,'FX Rates'!$A:$C,3,FALSE),AH4*VLOOKUP(U4,'FX Rates'!$A:$C,3,FALSE))),0)

 

IF [Is Starting today?]="TRUE" THEN ([ccynpvnocasht2t1]-[ccysignedsettlementamount])*[FX Rate]
ELSEIF
IF [Is Maturing Today?]="TRUE" THEN ([ccynpvnocasht2t1]+[ccyaccrualsincelastcoupont2t1]+[ccysignedsettlementamount])*[FX Rate]
ELSE
[ccynpvnocasht2t1]*[FX Rate] ENDIF

 

Thanks in Advance.

2件の返信2
jdminton
パルサー

There is an extra "IF" in your formula unless that was just mistyped here.

 

IF [Is Starting today?]="TRUE" THEN ([ccynpvnocasht2t1]-[ccysignedsettlementamount])*[FX Rate]
ELSEIF
▶️IF [Is Maturing Today?]="TRUE" THEN ([ccynpvnocasht2t1]+[ccyaccrualsincelastcoupont2t1]+[ccysignedsettlementamount])*[FX Rate]
ELSE
[ccynpvnocasht2t1]*[FX Rate] ENDIF

Sarath27
アステロイド

Thanks @jdminton 

ラベル
トップのソリューション投稿者