In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Excel formula

Sarath27
8 - Asteroid

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 REPLIES 2
jdminton
13 - Pulsar

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
8 - Asteroid

Thanks @jdminton 

Labels
Top Solution Authors