Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Peterson
 
Posts: n/a
Default =If() results based on cell color?

Is it possible to write a formula to base your results on the color of a cell?

For example -- if the color of cell a1 is red, then return "stop", otherwise
"go".

I suppose in Excel it would look something like this:

=if(a1=red,"Stop","go")

It's not conditional formatting because I want an actual value to to appear
in the cell.

Thanks,
Ken
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default =If() results based on cell color?

Not built in, but you can find it here

http://www.cpearson.com/excel/colors.htm

=IF(cellcolorindex(A1)=3,"stop","go")

--

Regards,

Peo Sjoblom

"Ken Peterson" wrote in message
...
Is it possible to write a formula to base your results on the color of a

cell?

For example -- if the color of cell a1 is red, then return "stop",

otherwise
"go".

I suppose in Excel it would look something like this:

=if(a1=red,"Stop","go")

It's not conditional formatting because I want an actual value to to

appear
in the cell.

Thanks,
Ken



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default =If() results based on cell color?

There is a solution at
http://www.xldynamic.com/source/xld.ColourCounter.html

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ken Peterson" wrote in message
...
Is it possible to write a formula to base your results on the color of a

cell?

For example -- if the color of cell a1 is red, then return "stop",

otherwise
"go".

I suppose in Excel it would look something like this:

=if(a1=red,"Stop","go")

It's not conditional formatting because I want an actual value to to

appear
in the cell.

Thanks,
Ken



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Peterson
 
Posts: n/a
Default =If() results based on cell color?

Excellent, thank you.

"Peo Sjoblom" wrote:

Not built in, but you can find it here

http://www.cpearson.com/excel/colors.htm

=IF(cellcolorindex(A1)=3,"stop","go")

--

Regards,

Peo Sjoblom

"Ken Peterson" wrote in message
...
Is it possible to write a formula to base your results on the color of a

cell?

For example -- if the color of cell a1 is red, then return "stop",

otherwise
"go".

I suppose in Excel it would look something like this:

=if(a1=red,"Stop","go")

It's not conditional formatting because I want an actual value to to

appear
in the cell.

Thanks,
Ken




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
Set color of cell based on info on another sheet? 43fan Excel Worksheet Functions 2 December 13th 05 07:53 PM
How do I set a cell value based on a formula in another cell? dingy101 Excel Discussion (Misc queries) 1 November 21st 05 08:51 AM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
changing value of a cell based on another cell color Gary Excel Discussion (Misc queries) 2 January 30th 05 10:19 AM


All times are GMT +1. The time now is 09:51 AM.

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

About Us

"It's about Microsoft Excel"