View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
PCLIVE PCLIVE is offline
external usenet poster
 
Posts: 1,311
Default Countif and multiple columns to validate

Try this:

=SUMPRODUCT(--(T1:T10=FirstCriteria),--(P1:P10=SecondCriteria))

HTH,
Paul

"ouch" wrote in message
...
ok in column T I have a value that needs to be counted if it matches a
name.
However it also needs to match a name in column P.

Anyideas on how I could accomplish this?

thanks in advance.