Intent: For a color to display on the entire line item according to another column result.
Problem: I want to accomplish using calculated column. I was able to create to the code below but it only shows per column result. I found this very helpful page Column Color Code, but they are not using calculated column.
Can someone look at the calculated code to tell me whats wrong and why it's not showing across the entire line item?
=CONCATENATE(
"<DIV"
,IF([Status]="1"
," style='background-color:green;color:white;'"
,IF([Status]="2",
" style='background-color:yellow;'"
,IF([Status]="3"
," style='background-color:red;color:white;'"
,IF([Status]="4"
," style='background-color:purple;color:white;'"
,""
)
)
)
,">"
,Title
,"</DIV>"
)