SOLVED
Nested IF function with additional subtraction
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CFuser87
7 - Meteor
‎06-06-2024
09:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I found a lot of formulas stating how an if function would work if it's under a certain threshold,
Just wondering how I would translate the following formula from Excel into Alteryx using the formula tool.
Would it be possible to keep it in one formula even with the subtraction since I need it for multiple columns?
=IF
End NBV (PY) - If (End NBV (PY) >0, Amort (PY), 0 ) >0,
End NBV (PY) - If (End NBV (PY) >0, Amort (PY), 0 )
0)
Thanks
Solved! Go to Solution.
Labels:
- Labels:
- Preparation
2 REPLIES 2
Raj
16 - Nebula
‎06-06-2024
09:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@CFuser87 please find the formula attached.
IF [End NBV (PY)] - IIF([End NBV (PY)] > 0, [Amort (PY)], 0) > 0 THEN [End NBV (PY)] - IIF([End NBV (PY)] > 0, [Amort (PY)], 0) ELSE 0 ENDIF
mark done if solved.
‎06-06-2024
11:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Amazing! Thanks for the quick reply!
