SOLVED
IF Formula Help
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
arundaka03
7 - Meteor
‎11-21-2021
02:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi everyone
Quite new to Alteryx Designer and need some help with a conditional statement - think I need to do a nested IF but need some help writing the formula in the formula tool
I want to do the following:
My gender identity is different than my sex at birth | New column and desired output |
No | Same as birth gender |
Yes | Different than birth gender |
Prefer not to answer | Prefer not to answer |
Last row is blank. If blank, need the new column to be blank too.
Thanks,
KA
Solved! Go to Solution.
Labels:
- Labels:
- Help
2 REPLIES 2
21 - Polaris
‎11-21-2021
03:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@arundaka03
We can use a Switch function
AngelosPachis
16 - Nebula
‎11-21-2021
03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @arundaka03 ,
Here are two ways you can do it, one is using an IF statement like you said, the other is a Switch statement, which works similar to an if statement but looks nicer and cleaner if you have many clauses sometimes
