View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Summing all cells containing the letter K

=SUMPRODUCT(--ISNUMBER(SEARCH("K",A1:F1)))


"Jan T." wrote:

Hi.
I want to count all cells in a range that contains the letter K.

RON BLAIR KASPER HULK FRONT KIM

The example here would return 3 because 3 cells are containing a name that
has K in it.
I think I should put functions like SUMPRODUCT AND ISNUMBER AND MATCH,
but how do I put theese together?

Thanks in advance.

Mvh
Jan