View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Boying Opaw[_2_] Boying Opaw[_2_] is offline
external usenet poster
 
Posts: 3
Default Finding 2 different letters in a range

I am not sure if this is what you mean? I hope it helps.

=COUNTIF(B2:B39,"g") + COUNTIF(B2:B39,"a")


"Bampah" wrote:

I have been using the following formula to find the total occurrences
of the letter "g" in a range
=COUNTIF(B2:B39,"g")
I now need to also look for the letter "a" to give a return of them
both combined.
How do I achieve this please?