View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Richard[_9_] Richard[_9_] is offline
external usenet poster
 
Posts: 4
Default COUNTIF with multiple text criteria

Many thanks for your lightning responses guys.


=SUMPRODUCT((A1:A100="word1")*(B1:B100="word2"))*1 0 - did it for me,
plus the web link helped explain things.


Sorry Francis no yes button! - but feel free to click it for me if you
have one ;)


thanks again

Richard
(using office 2007)



On 2 Mar, 16:55, francis wrote:
you can use Sumproduct in this case

=SUMPRODUCT((A2:A10="Word1")*(B2:B10="Word2")*10

The range need to be the same for this function and you can't
use whole column in 2003.
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked *

Thank You

cheers, francis

"Richard" wrote:
Hi all


I need to count all instances of Word1 in column A, but only where
column 2 contains Word2. (and then multiply the result by a factor of
n - if that's possible?)


I've got as far as: =COUNTIF(A:A,"Word1")*10 - but it stops working
when I add the column 2 criteria.


Have tried using =SUMPRODUCT but think that is for numbers only?


Hope my requirements are possible.


thanks in advance


Richard