From: Bampah on
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?
From: Boying Opaw on
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?
>
From: Bampah on
On 8 Oct, 12:47, Boying Opaw <BoyingO...(a)discussions.microsoft.com>
wrote:
> 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?

Thanks, that's exactly what I wanted.
So simple..........................like me I guess

Rob
From: Teethless mama on
=SUM(COUNTIF(B2:B20,{"a","g"}))


"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?
>
From: Bampah on
On 8 Oct, 13:51, Teethless mama
<Teethlessm...(a)discussions.microsoft.com> wrote:
> =SUM(COUNTIF(B2:B20,{"a","g"}))
>
> "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?

Thanks Mama
That looks more elegant.
What is the purpose of the 'sqiggly' parenthsis

Rob