Read your post again and although I don't understand fully what you mean I presume that you are writing the values in VBA code, in which case you can set the cell colour , I think it's called interior color, depending on the value you are writing.
Brian