View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nicole Bradshaw[_2_] Nicole Bradshaw[_2_] is offline
external usenet poster
 
Posts: 3
Default Count Using Multiple Criteria

Can someone tell me what the "--" does in a function? Thanks to all of you
for your help with this!

"Sandy Mann" wrote:

=SUMPRODUCT(--( B2:B22 = "associate"),--(C2:C22<""))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Nicole Bradshaw" <Nicole
wrote in
message ...
Hi, I'm trying to prepare a summary worksheet to count where
B2:B22 = "associate"
and
C2:C22 contains a date (or is not blank)

I'm sure it's doable but I'm stumped. Thanks.

Nicole