A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

using cell background color as basis for formula



 
 
Thread Tools Display Modes
  #1  
Old November 11th, 2003, 07:15 PM
ken
external usenet poster
 
Posts: n/a
Default using cell background color as basis for formula

Anyone know of a way to use a background color in a
function such as an IF statement?

I have a spreadsheet keeping track of items where I use
yellow and transparent (white) to signify two
different "states". The cell may or may not contain text
or numbers. I would like to be able to count the cells
in a range that are yellow or not yellow.
  #2  
Old November 11th, 2003, 07:21 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default using cell background color as basis for formula

If the background colour is from conditional formatting you can use the same
conditions in the formula,
if not see:

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

you would need to use VBA to do that, the above link has some examples
that you can use


--

Regards,

Peo Sjoblom


"ken" wrote in message
...
Anyone know of a way to use a background color in a
function such as an IF statement?

I have a spreadsheet keeping track of items where I use
yellow and transparent (white) to signify two
different "states". The cell may or may not contain text
or numbers. I would like to be able to count the cells
in a range that are yellow or not yellow.



  #3  
Old November 11th, 2003, 09:50 PM
ken
external usenet poster
 
Posts: n/a
Default using cell background color as basis for formula

The color is not a result of conditional formatting. The
VBA reference will be useful. Thank you!!


-----Original Message-----
If the background colour is from conditional formatting

you can use the same
conditions in the formula,
if not see:

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

you would need to use VBA to do that, the above link has

some examples
that you can use


--

Regards,

Peo Sjoblom


"ken" wrote in

message
...
Anyone know of a way to use a background color in a
function such as an IF statement?

I have a spreadsheet keeping track of items where I use
yellow and transparent (white) to signify two
different "states". The cell may or may not contain

text
or numbers. I would like to be able to count the cells
in a range that are yellow or not yellow.



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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