![]() With this name defined, you can, in any cell, enter the following: In the Refers To box, enter the following, as a single line:.Use a name such as "mycolor" (without the quote marks).Excel displays the Define Name dialog box. The closest non-macro solution is to create a name that determines colors, in this manner: Unfortunately, there is no way to acceptably accomplish this task without using macros, in one form or another. Steve prefers to not use a macro to do this. For example, if A1 has a green fill, he wants to return the word "go", if it has a red fill, he wants to return the word "stop", and if it is any other color return the word "neither". Steve would like to create an IF statement (using the worksheet function) based on the color of a cell.
0 Comments
Leave a Reply. |