using cell background color as basis for formula

  • Thread starter Thread starter ken
  • Start date Start date
K

ken

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.
 
The color is not a result of conditional formatting. The
VBA reference will be useful. Thank you!!
 
Back
Top