View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TheUbe TheUbe is offline
external usenet poster
 
Posts: 4
Default Count if within conditional formatted cells

Thank you very much.
--
Ken


"David Biddulph" wrote:

Google for "double unary minus".
--
David Biddulph

"TheUbe" wrote in message
...
That worked perfectly with a simple mod changing < to =

BTW I've seen these formulas before with the (--( What does the outer
parenthesis and dashes do for the formula?

--
Ken


"T. Valko" wrote:

Instead of counting color formatted cells count the cells based on:

Each cell the answer is recorded in looks to
another cell with the correct answer.

If A1:A10 are the answer cells and the answer key (the correct answers)
is
in the range AA1:AA10 -

=SUMPRODUCT(--(A1:A10<AA1:AA10)

--
Biff
Microsoft Excel MVP


"TheUbe" wrote in message
...
I use a spreadsheet to record answers to a test. Each cell the answer
is
recorded in looks to another cell with the correct answer. All wrong
answers
cond. format to red background. Is there no easy way to have Excel
count
how
many cells are being conditionally formated to give me their score? I
tried
http://www.xldynamic.com/source/xld.....html#counting but my
cell
value always returns #name? I'm using Excel 2007.
--
Ken


"macropod" wrote:

Hi kmaki,

There is no worksheet function to count cells based on their colour.
You'll need to build your formula using the same logic that you
used to determine what colour the cells should be.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"kmaki" wrote in message
...
How do I countif where cells are conditionally formatted to either
"yes"
(formatted to change fill to yellow) or "No'(formatted to change
fill
to
orange"

The end result is for the # of yes and the # of nos.

Thank you.