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

Multiple IF Formula Or any suggestive formula that could work

geeklarokcmie
8 - Asteroid

Good afternoon Alteryx Experts,

 

I have five columns as listed below and I'm looking to get the values in new columns : "Unassigned_Inactive_Assignee" and "Unassigned_Inactive_Reporter"

 

The formula must emit a result based on the below condition:

  • when the assignee contains [X] then it should output inactive_assignee
  • and when the assignee is empty then it should output unassigned_assignee
  • and when the above conditions are not met it should emit the assignee name "as is"

Same goes for the Reporter.

 

Defect IDAssigneeReporterUnassigned_Inactive_AssigneeUnassigned_Inactive_Reporter
113John, Doe Stevie, DoeJohn, DoeStevie, Doe
145  Unassigned_AssigneeUnassigned_Reporter
1789Jill, DoeDane, Doe [X]Jill, DoeInactive_Reporter
156Jack, Doe [X] Inactive_AssigneeUnassigner_Reporter

 

Thank you in advance. :)

2 REPLIES 2
lwolfie
11 - Bolide

It would require 2 formulas.  One for each column.  For the Unassigned_Inactive_Assignee column, Use

If isempty([Assignee]) then "Unassigned_Asignee"

Elseif Contains([Assignee],"[X]") Then "Inactive_assignee"

Else [Assignee]

ENDIF

 

You might have to use isblank instead of empty.  It depends on how your data is set up.

geeklarokcmie
8 - Asteroid

@lwolfie That worked like a charm. Thank you :)

Labels
Top Solution Authors