Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
conditional depending on font color help?
how can i get this to work.
In the same workbook I am trying to write an IF statement to look at a cell on another worksheet and if that cell is red to write fail into the new worksheet or if the condition is false to write pass in that particular cell on the new worksheet. i am not trying to write a macro to do this but just put this code into the cell on the new worksheet. what i have right now is giving me a #name? error. here is what i have come up with that does not work. =IF(Sheet1!d12.font.colorindex = 3, "FAIL", "PASS") any help on this would be greatly appreciated. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
conditional depending on font color help?
There's nothing built into excel that allows you to do this.
If you want a macro, you could use Chip Pearson's: http://cpearson.com/excel/colors.htm Look for CellColorIndex wrote: how can i get this to work. In the same workbook I am trying to write an IF statement to look at a cell on another worksheet and if that cell is red to write fail into the new worksheet or if the condition is false to write pass in that particular cell on the new worksheet. i am not trying to write a macro to do this but just put this code into the cell on the new worksheet. what i have right now is giving me a #name? error. here is what i have come up with that does not work. =IF(Sheet1!d12.font.colorindex = 3, "FAIL", "PASS") any help on this would be greatly appreciated. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Format for font color using font color | Excel Worksheet Functions | |||
change font color depending on cell value | Excel Worksheet Functions | |||
Conditional Font Color | Excel Programming | |||
How do I get the font color to change automatically depending on | Excel Discussion (Misc queries) | |||
font color depending upon value possible? | Excel Programming |