Forum Discussion
mbrawn
9 years agoFrequent Visitor
Multiple IF Statement for Status Codes
Hi there, I need to form the correct version of this IF statement. Or, more likely, a different statement with the same outcome! If Status = 3 then "Won" If Status = 4 then "Lost" If Status...
- 9 years ago
You could try
Status = SWITCH ( opportunities[statuscode], 3, "Won", 4, "Lost", BLANK (), "Open", "defaut value if doesn't in any prior case" )
Eric_Zhang
9 years agoMicrosoft Employee
You could try
Status =
SWITCH (
opportunities[statuscode],
3, "Won",
4, "Lost",
BLANK (), "Open",
"defaut value if doesn't in any prior case"
)