#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Count Blanks

I have a long lost os Data in Col A and figures in Col B, I know I can
use a sumif to count figures in ColB if they met criteria in ColB.

But what I need to is count Blank cells in ColB only if they = certain
criteria In ColA, ie if ColA = True then count ColB if the cell is
blank

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Count Blanks

=SUMPRODUCT(--(A2:A20),--(B2:B20=""))

--
__________________________________
HTH

Bob

"Paul" wrote in message
...
I have a long lost os Data in Col A and figures in Col B, I know I can
use a sumif to count figures in ColB if they met criteria in ColB.

But what I need to is count Blank cells in ColB only if they = certain
criteria In ColA, ie if ColA = True then count ColB if the cell is
blank

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Count Blanks

On Aug 6, 12:36*pm, "Bob Phillips" wrote:
=SUMPRODUCT(--(A2:A20),--(B2:B20=""))

--
__________________________________
HTH

Bob

"Paul" wrote in message

...



I have a long lost os Data in Col A and figures in Col B, I know I can
use a sumif to count figures in ColB if they met criteria in ColB.


But what I need to is count Blank cells in ColB only if they = certain
criteria In ColA, ie if ColA = True then count ColB if the cell is
blank


Thanks,- Hide quoted text -


- Show quoted text -


I am sorry but I have tried this and it will not work,

1 Col-A Col-B
2 Paul 1
3 John 1
4 Paul
5 Paul 2
6 Paul 2

I want the formula to look at all the Pauls and return a value of how
many blank cells are in Col-B (Paul only - row 4)

Thanks
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Count Blanks

I thought you were saying column A had the value TRUE.

=SUMPRODUCT(--(A2:A20="Paul"),--(B2:B20=""))


--
__________________________________
HTH

Bob

"Paul" wrote in message
...
On Aug 6, 12:36 pm, "Bob Phillips" wrote:
=SUMPRODUCT(--(A2:A20),--(B2:B20=""))

--
__________________________________
HTH

Bob

"Paul" wrote in message

...



I have a long lost os Data in Col A and figures in Col B, I know I can
use a sumif to count figures in ColB if they met criteria in ColB.


But what I need to is count Blank cells in ColB only if they = certain
criteria In ColA, ie if ColA = True then count ColB if the cell is
blank


Thanks,- Hide quoted text -


- Show quoted text -


I am sorry but I have tried this and it will not work,

1 Col-A Col-B
2 Paul 1
3 John 1
4 Paul
5 Paul 2
6 Paul 2

I want the formula to look at all the Pauls and return a value of how
many blank cells are in Col-B (Paul only - row 4)

Thanks


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Count Blanks

On Aug 6, 3:04*pm, "Bob Phillips" wrote:
I thought you were saying column A had the value TRUE.

=SUMPRODUCT(--(A2:A20="Paul"),--(B2:B20=""))

--
__________________________________
HTH

Bob

"Paul" wrote in message

...
On Aug 6, 12:36 pm, "Bob Phillips" wrote:





=SUMPRODUCT(--(A2:A20),--(B2:B20=""))


--
__________________________________
HTH


Bob


"Paul" wrote in message


...


I have a long lost os Data in Col A and figures in Col B, I know I can
use a sumif to count figures in ColB if they met criteria in ColB.


But what I need to is count Blank cells in ColB only if they = certain
criteria In ColA, ie if ColA = True then count ColB if the cell is
blank


Thanks,- Hide quoted text -


- Show quoted text -


I am sorry but I have tried this and it will not work,

1 Col-A * Col-B
2 Paul * *1
3 John * 1
4 Paul
5 Paul 2
6 Paul 2

I want the formula to look at all the Pauls and return a value of how
many blank cells are in Col-B (Paul only - row 4)

Thanks- Hide quoted text -

- Show quoted text -


Thank you ever so much. It is working
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
count blanks in pivot table Khoshravan Excel Worksheet Functions 3 August 19th 07 05:14 AM
Count blanks in Data Validation clarknv Excel Discussion (Misc queries) 2 April 2nd 07 04:32 PM
Count the blanks Mark Solesbury Excel Worksheet Functions 1 March 24th 07 06:31 PM
Count blanks cells jmumby New Users to Excel 6 May 9th 06 10:52 AM
Count Blanks in a Filtered Column Gos-C Excel Worksheet Functions 21 March 23rd 06 07:21 AM


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

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

About Us

"It's about Microsoft Excel"