Forum Discussion
ArchiveUser
10 years agoQrew Captain
Thanks - I'm currently using the below formula in a text-formula field that is looking at a separate field (Client). I'm not sure I completely follow what you're doing. Can you see a reason why the formula below would be including the extra lines?
If(
[Client]="ABC","<div style=\"color: #000000; background-color: #C0C0C0;\">ABC</div>",
[Client]="XYZ","<div style=\"color: #ffffff; background-color: #0000FF;\">XYZ</div>",
[Client]="123","<div style=\"color: #ffffff; background-color: #FF00FF;\">123</div>")
If(
[Client]="ABC","<div style=\"color: #000000; background-color: #C0C0C0;\">ABC</div>",
[Client]="XYZ","<div style=\"color: #ffffff; background-color: #0000FF;\">XYZ</div>",
[Client]="123","<div style=\"color: #ffffff; background-color: #FF00FF;\">123</div>")