Forum Discussion
mdrammeh
9 years agoHelper III
Conditional format for Alpha-numerical Columns
I have a column with alphanumerical values identifying the difference between INTERNAL versus EXTERNAL contact. A B MUST1234 EXTERNAL HAVENO INTERNAL NOHAV12 EXTERNAL ...
- 9 years ago
if List.ContainsAny(Text.ToList([A]), {"1","2","3","4","5","6","7","8","9","0"}) or [A] = "GLAMRO" then "EXTERNAL" else "INTERNAL"
Vvelarde
9 years agoCommunity Champion
The formula works also with Blank Rows
I'll try first to made a Trim and Clean to the Column to delete other characters.
mdrammeh
9 years agoHelper III
Sounds good. one more question. What if I want to create an exception to the rule by picking up a text description from the list.