Help with formula IF statement
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
ianvosler
5 - Atom
‎09-19-2024
10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello
I am trying to figure out a way to have certain values replaced based on specific criteria but having trouble getting the correct IF statment in the formula tool. The rule to build is to replace the notional market value for any "FT" Inv types with the related unrealized sec GL, while all other Inv types should be unaffected (maintain its current notional market value). for ex. Row 3 needs to show 0 for notional market value and row 2 should maintain the 26,543,258. Thanks.
Labels:
- Labels:
- Academy
1 REPLY 1
17 - Castor
‎09-19-2024
11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @ianvosler, unless I'm missing something it should just be the following (after selecting the notional value field from the dropdown in the Formula configuration in order to overwrite it):
IF [INV_TYPE] = 'FT' THEN [UNREALIZED_SEC_GL] ELSE [NOTIONAL_MARKET_VALUE_BASE] ENDIF
