Link to home
Start Free TrialLog in
Avatar of RecipeDan
RecipeDan

asked on

Background Color based on Column Value

Hello:

I want a background color in a column based upon a value in another column. When I use the script below, it shows the actual word instead of the color. When I delete the quotation marks from the color, I get an error.

=Switch(Fields!OCT.Value >= Fields!CPGTarget.Value, "Green",Fields!OCT.Value< Fields!CPGTarget.Value, "Red")

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RecipeDan
RecipeDan

ASKER

That is what I was doing wrong...thank you
thanks for the grade.  Good luck with your project.  -Jim