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

I use the following formula: =COUNTIF(D5:P5,"x")

In this case, I am counting the number of "x" between D5 and P5. You can
change the "x" to "K" if you want and identify the range you want to count,
up and down a column or as I have done in a row.

Brent


"Jan T." wrote in message
...

Aha, very interesting. I certainly did not know that.
Thank you so much for the answer. Have a nice day ;)

Regards
Jan

"David Biddulph" skrev i melding
...
The "double unary minus" converts a logical (TRUE or FALSE) value to a
number (1 or 0).
--
David Biddulph

"Jan T." wrote in message
...
Thank you very much for helping.
But can you tell me, what does the two minus before (--ISNUMBER... do?

Jan

"Teethless mama" skrev i
melding ...
=SUMPRODUCT(--ISNUMBER(SEARCH("K",A1:F1)))