BestMark 0 Report post Posted March 18, 2009 Is there a way to conditionally format the background color and/or font color in a cell? For example.... - when the cell value is negative, the cell background color is red (white font color) - when the cell value is positive, the cell background color is green (white font color) - when the value is 0, the cell background color is white, (black font color). Quote Share this post Link to post Share on other sites
labrashjw 0 Report post Posted January 15, 2010 Look under FormattingDataValue then look at e.field.datapath and e.datavalue the you can use String .Format("<span style=""color:red"">{0}</span>", e.FormattedValue) Hope that helps Quote Share this post Link to post Share on other sites