I have an existing formula column to calculate a weighted score. Next, I would like to add on to those weighted scores based on label usage. My goal: if an issue has any one of the labels, it should add 10, but if it has multiple matching labels, it should add multiples of 10 (i.e. if an issue has both label1 and label2 applied, it should add 20 to the score).
IF CONTAINS(labels,"label1"):
Weighted_Score = Weighted_Score + 10
IF CONTAINS(labels,"label2"):
Weighted_Score = Weighted_Score + 10
IF CONTAINS(labels,"label3"):
Weighted_Score = Weighted_Score + 10
IF CONTAINS(labels,"label4"):
Weighted_Score = Weighted_Score + 10
The first line works, but when I add the others, I get an error. Thoughts? Ideas? Appreciate any help you can provide!