Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dear All,
I need to check certain cell, if the format colour is Red, i want to put figure 1, Black = 2, Blue =3. Please help by using formula? Thank you for your kind attention. Andri |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution This should point you in the right direction, advice taken from an earlier post. "Andri" wrote: Dear All, I need to check certain cell, if the format colour is Red, i want to put figure 1, Black = 2, Blue =3. Please help by using formula? Thank you for your kind attention. Andri |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dear Richard,
Thank you. Brgds,andri "Richard" wrote: See http://www.xldynamic.com/source/xld.ColourCounter.html for a working solution This should point you in the right direction, advice taken from an earlier post. "Andri" wrote: Dear All, I need to check certain cell, if the format colour is Red, i want to put figure 1, Black = 2, Blue =3. Please help by using formula? Thank you for your kind attention. Andri |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You first need to return the colour and this requires a function such as:-
http://www.cpearson.com/excel/colors.htm If you were then testing A1 you could call this function with this formula in A1 =IF(CELLCOLORINDEX(A1,FALSE)=3,1,IF(CELLCOLORINDEX (A1,FALSE)=1,2,IF(CELLCOLORINDEX(A1,FALSE)=5,3,"") )) When changing the cell colour the function would need to be called again by pressing F9. Also choose your font colour wisely because you are checking fro black so a black font won't work. Mike "Andri" wrote: Dear All, I need to check certain cell, if the format colour is Red, i want to put figure 1, Black = 2, Blue =3. Please help by using formula? Thank you for your kind attention. Andri |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dear Mike,
Thank you..it works... Brgds,andri "Mike" wrote: You first need to return the colour and this requires a function such as:- http://www.cpearson.com/excel/colors.htm If you were then testing A1 you could call this function with this formula in A1 =IF(CELLCOLORINDEX(A1,FALSE)=3,1,IF(CELLCOLORINDEX (A1,FALSE)=1,2,IF(CELLCOLORINDEX(A1,FALSE)=5,3,"") )) When changing the cell colour the function would need to be called again by pressing F9. Also choose your font colour wisely because you are checking fro black so a black font won't work. Mike "Andri" wrote: Dear All, I need to check certain cell, if the format colour is Red, i want to put figure 1, Black = 2, Blue =3. Please help by using formula? Thank you for your kind attention. Andri |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to colour a cell green if another cell is filled with text | Excel Discussion (Misc queries) | |||
Changing one cell colour by inserting date in another cell | Excel Worksheet Functions | |||
can i access the cell colour programatically? eg if cell is blue | Excel Discussion (Misc queries) | |||
change a cell background colour to my own RGB colour requirements | Excel Discussion (Misc queries) | |||
How can i change cell colour depending on month of date in cell? | Excel Discussion (Misc queries) |