Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruce Henson
 
Posts: n/a
Default How can I count conditional blank cells?

I want to count blank cells in one column where a certain value exists in
another column. DCOUNT and COUNTIF don't work for this purpose. For
example, I want to count the blank cells in column B where the Cells in
Column A equal "John":

A B
1 John 5
2 John
3 John 7
4 Mike 1
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default How can I count conditional blank cells?

Try something like this:

C1: =SUMPRODUCT((A1:A100="John")*ISBLANK(B1:B100))

Change range references to suit your situation.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Bruce Henson" wrote:

I want to count blank cells in one column where a certain value exists in
another column. DCOUNT and COUNTIF don't work for this purpose. For
example, I want to count the blank cells in column B where the Cells in
Column A equal "John":

A B
1 John 5
2 John
3 John 7
4 Mike 1

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default How can I count conditional blank cells?


Bruce,

=SUMPRODUCT((A1:A4="John")*(ISBLANK(B1:B4)))

Regards,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=527608

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 number of cells bill gras Excel Worksheet Functions 4 October 3rd 05 07:15 AM
Generating truly blank cells Nat Excel Worksheet Functions 4 September 30th 05 11:39 PM
enter numbers in blank cells bill gras Excel Worksheet Functions 2 September 21st 05 01:17 PM
Counting blank and filled cells within a range. greg7468 Excel Discussion (Misc queries) 3 June 28th 05 10:41 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM


All times are GMT +1. The time now is 03:06 PM.

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"