Trying to create a calculated column that will have a value based on the values in four other columns. Column 1, Coulmn 2, column 3, column 4 may be yes or no The final result in the calculated column, for example, called Progress, should be something like this line:
Progress = CASE
WHEN [Column1] = 'Yes' THEN Value+1
WHEN [Column2] = 'Yes' THEN Value+1
WHEN [Column3] = 'Yes' THEN Value+1
WHEN [Column4] = 'Yes' THEN Value+1
ELSE 0 END
I hope this makes sense, because obviously the syntax of the above is incorrect.
source
share