Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Count Blank Cells & Letter P

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default Count Blank Cells & Letter P

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" wrote in message
...
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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Count Blank Cells & Letter P

Hi,

Try this

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

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Karen" wrote in message
...
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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Count Blank Cells & Letter P

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" wrote in message
...
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

.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Count Blank Cells & Letter P

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" wrote in message
...
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

.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Count Blank Cells & Letter P

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" wrote in message
...
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

.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Count Blank Cells & Letter P

You are welcome

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Karen" wrote in message
...
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" wrote in message
...
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

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I count the cells ending with a specific letter? David New Users to Excel 5 July 25th 09 12:17 AM
How do I count cells beginning with specific letter? jay New Users to Excel 7 October 15th 08 06:25 PM
Change certain numbers & blank cells into a letter Kat Excel Discussion (Misc queries) 1 February 8th 07 01:21 AM
count cells in a coloumn with letter x in it sarg Excel Worksheet Functions 2 September 24th 05 09:01 PM
Count number of cells that contain a certain letter - Case Sensitive elite Excel Discussion (Misc queries) 4 September 20th 05 01:41 PM


All times are GMT +1. The time now is 12:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"