LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default Count Blank Cells with Conditions

On 1/03/2012 11:11 AM, CNWatsonJr wrote:
I am trying to count blanks cells with conditions.

In column 'A' I have a list of dates and in column 'B' I have a list of
group numbers (two digits, formatted as text - to preserve two digits
under the value of 10). Some of the cells in column 'B' are blank (no
group number assigned).

I need to count the blank cells that occur between a specific date
range.

I have tried countif, sumproduct, and nested if functions but I am just
not getting it right. I am either getting a value of 0, false or just a
plain error.

Any help would be greatly appreciated.


+-------------------------------------------------------------------+
|Filename: excelshot.jpg |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=301|
+-------------------------------------------------------------------+



Hi

As for using Text for preservation of your numbering format, you can use
a Custom Number Format that = 00 which will display any single digit
number with a leading zero.

This will get you counts of the specific criteria of each Group,
although I could not get the right syntax for the additional date range
criteria to work.

Group. 1 =COUNTIF($B$2:$B$10,"=01")
Group. 2 =COUNTIF($B$2:$B$10,"=02")
Group. 3 =COUNTIF($B$2:$B$10,"=03")
Group. 4 =COUNTIF($B$2:$B$10,"=04")
Non-Grouped =COUNTIF($B$2:$B$10,"")

HTH
Mick.




 
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
Counting non-blank cells with conditions Saylindara Excel Discussion (Misc queries) 4 August 18th 09 08:58 PM
count nonblank cells with conditions DB Excel Worksheet Functions 2 March 6th 09 09:03 PM
Count and Sum of cells if conditions fulfilled Bono Excel Worksheet Functions 12 December 11th 08 12:30 PM
I want to count relying upon conditions in other cells Looker1 Excel Discussion (Misc queries) 5 June 19th 08 12:38 PM
Count the number of Cells in one ROW with conditions Amanda Excel Worksheet Functions 2 September 9th 05 04:03 PM


All times are GMT +1. The time now is 05:57 PM.

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"