View Single Post
  #3  
Old May 29th, 2010, 03:44 PM posted to microsoft.public.excel.worksheet.functions
Tom-S[_2_]
external usenet poster
 
Posts: 68
Default Help needed urgently

Try this (based on your example):

=SUMPRODUCT((A1:A6="Blay")*(B1:B6="Y"))

Regards,

Tom


"AndyW" wrote:

Hi,

Im trying to check that one row of data satifies a criteria, then if it does
it counts an entry in another column adjescent to it.

Example: -

Column A - Column B
Blay - Y
Blay - N
Blay - Y
Chop - N
Chop - N
High - Y

What i would be asking (of a much bigger table) is If Column A = Blaydon and
then column B (same row) = Y, then count. In this example I would want 2
returned as the answer.
Is this possible?
Thanks
--
Andy