Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Find Colour of Cell...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default Find Colour of Cell...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Find Colour of Cell...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Find Colour of Cell...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Find Colour of Cell...

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to colour a cell green if another cell is filled with text terence Excel Discussion (Misc queries) 3 March 11th 07 04:38 PM
Changing one cell colour by inserting date in another cell JohannM Excel Worksheet Functions 3 September 4th 06 07:42 PM
can i access the cell colour programatically? eg if cell is blue Tony2Far Excel Discussion (Misc queries) 2 August 9th 06 06:50 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
How can i change cell colour depending on month of date in cell? andy75 Excel Discussion (Misc queries) 2 January 6th 06 07:46 AM


All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"