From: Karen on
I have a range of cells from B10:B32 that have a few different values in
them. I want to be able to count the cells that only contain nothing (blanks)
and the letter P. How can this be done?
ANY help would be greatly appreciated, Karen

From: Otto Moehrbach on
Do you mean to count all the blank cells plus all the cells that have "P"?
Use this: HTH Otto
=COUNTIF(B10:B32,"")+COUNTIF(B10:B32,"P")

"Karen" <Karen(a)discussions.microsoft.com> wrote in message
news:2A361311-80FE-4CE5-9919-FD7FA86E5A09(a)microsoft.com...
> I have a range of cells from B10:B32 that have a few different values in
> them. I want to be able to count the cells that only contain nothing
> (blanks)
> and the letter P. How can this be done?
> ANY help would be greatly appreciated, Karen
>
From: Ashish Mathur on
Hi,

Try this

=sumproduct((B10:B32="")+(B10:B32="p"))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Karen" <Karen(a)discussions.microsoft.com> wrote in message
news:2A361311-80FE-4CE5-9919-FD7FA86E5A09(a)microsoft.com...
> I have a range of cells from B10:B32 that have a few different values in
> them. I want to be able to count the cells that only contain nothing
> (blanks)
> and the letter P. How can this be done?
> ANY help would be greatly appreciated, Karen
>
From: Karen on
Thank you so much for your help! It worked great!
Karen

"Otto Moehrbach" wrote:

> Do you mean to count all the blank cells plus all the cells that have "P"?
> Use this: HTH Otto
> =COUNTIF(B10:B32,"")+COUNTIF(B10:B32,"P")
>
> "Karen" <Karen(a)discussions.microsoft.com> wrote in message
> news:2A361311-80FE-4CE5-9919-FD7FA86E5A09(a)microsoft.com...
> > I have a range of cells from B10:B32 that have a few different values in
> > them. I want to be able to count the cells that only contain nothing
> > (blanks)
> > and the letter P. How can this be done?
> > ANY help would be greatly appreciated, Karen
> >
> .
>
From: Ashish Mathur on
You are welcome

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Karen" <Karen(a)discussions.microsoft.com> wrote in message
news:F6472235-38A2-45D1-9A48-EC35DD41325E(a)microsoft.com...
> Thank you so much for your help! It worked great!
> Karen
>
> "Ashish Mathur" wrote:
>
>> Hi,
>>
>> Try this
>>
>> =sumproduct((B10:B32="")+(B10:B32="p"))
>>
>> --
>> Regards,
>>
>> Ashish Mathur
>> Microsoft Excel MVP
>> www.ashishmathur.com
>>
>> "Karen" <Karen(a)discussions.microsoft.com> wrote in message
>> news:2A361311-80FE-4CE5-9919-FD7FA86E5A09(a)microsoft.com...
>> > I have a range of cells from B10:B32 that have a few different values
>> > in
>> > them. I want to be able to count the cells that only contain nothing
>> > (blanks)
>> > and the letter P. How can this be done?
>> > ANY help would be greatly appreciated, Karen
>> >
>> .
>>