This expression is currently working for me,
AND(OR([Type]="External",[Type]="Overseas",[Type]="Emergency Crew"), [Status] = "Out")
I believe there's a better way to write this using the IN() or LIST() expression. I tried the below but it's not working out.
AND(IN(ANY(Loans[Type]),{'External','Overseas','Emergency Crew'}), [Status] = "Out")
Can someone help out? Just trying to learn to write better expressions.
Thank you
Solved! Go to Solution.
Here's an expression using the functions you cite. If you didn't already, review each function's help article for details of its syntax, argument data types, and returned value data type.
AND(IN([Type], LIST("External", "Overseas", "Emergency Crew")), [Status] = "Out")
Here's an expression using the functions you cite. If you didn't already, review each function's help article for details of its syntax, argument data types, and returned value data type.
AND(IN([Type], LIST("External", "Overseas", "Emergency Crew")), [Status] = "Out")
Perfect! I did tried to go through the articles but just couldn't figure out where i was going wrong. Thank you so much for taking the time to help out. Much appreciated!
User | Count |
---|---|
16 | |
11 | |
7 | |
2 | |
2 |