• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Can an IF function be based on the color of a cell?

Blair

New Member
I have cells that are either green, blue or gray in color. Is it possible to have an IF function dependendent on whether the cell color is green or not green (i.e., give one result if green or a second result if either blue or gray)?
 
I dont think so. You can do the opposite, make a cell a color based on the values it contains (Conditional Formatting), but I dont think you can make the IF statement use the color (at least not w/out some VBA).
 
Blair


Have a read of this post: http://chandoo.org/forums/topic/cell-colors
 
Back
Top