View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Count Number of occurences of several texts in a range of cells

Try this


=SUMPRODUCT(--(ISNUMBER(SEARCH({"S&D","TO","Both","Y"},O2:O93))) )

Mike

"kbeirne" wrote:

Im trying to use a COUNTIFS fx to count only certain answers from a list of
answers. Answers can only be chosen from a predetermined drop down list.

Answers I want to count are €œS&D€, €œTO€, €œBoth€ and €œY€

Range is the same for all cells. Other answers are an option but I do not
want to count them.

Ive tried these but they wont seem to work:
=countifs(o2:o93, €œS&D€, o2:o93, €œTO€, o2:o93, €œBoth€, o2:o93, €œY€)
=countifs(o2:o93, €œS&D€, €œTO€, €œBoth€, €œY€)

Any ideas?