PC Review


Reply
Thread Tools Rate Thread

Count blanks by date

 
 
Molasses26
Guest
Posts: n/a
 
      4th May 2010
I have a table that has meter# , date, and usage in colums A, B and C.
I use a formula =sumif($B$11:$B1000,"="[date],$C$11:$C1000) to total up the
amount of usage for each day. But what I want to do is count the number of
blanks in column C for each date.
So "if $B$11:$B1000,"="[date] then countblank($C$11:$C1000)" is kind of what
I'm shooting for but I can't wrap my brain around how to do it.
I would like to report that on 4/1 we had 1,912 usage and 4 meters did not
report (were blank).
Thanks!
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      4th May 2010
Try

=SUMPRODUCT(--($B$11:$B1000=[date]),--(ISBLANK($C$11:$C1000)))

--

HTH

Bob

"Molasses26" <(E-Mail Removed)> wrote in message
news:69AA6F39-A09F-4951-854F-(E-Mail Removed)...
>I have a table that has meter# , date, and usage in colums A, B and C.
> I use a formula =sumif($B$11:$B1000,"="[date],$C$11:$C1000) to total up
> the
> amount of usage for each day. But what I want to do is count the number
> of
> blanks in column C for each date.
> So "if $B$11:$B1000,"="[date] then countblank($C$11:$C1000)" is kind of
> what
> I'm shooting for but I can't wrap my brain around how to do it.
> I would like to report that on 4/1 we had 1,912 usage and 4 meters did not
> report (were blank).
> Thanks!



 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      5th May 2010
You can use sumproduct for multiple criteria
For your specifics here, try something like this:
=SUMPRODUCT(($B$11:$B1000=--"15 Apr 2010")*($C$11:$C1000=""))
where
criteria 1 is $B$11:$B1000= --"15 Apr 2010"
(shows an unambiguous way to use when it comes to dates data)

criteria 2 is $C$11:$C1000=""
(range="") is equivalent to countblanks

The multiplication of the 2 criteria gives an "AND" result, where both
criteria are satisfied. Success? hit the YES below
--
Max
Singapore
---
"Molasses26" wrote:
> I have a table that has meter# , date, and usage in colums A, B and C.
> I use a formula =sumif($B$11:$B1000,"="[date],$C$11:$C1000) to total up the
> amount of usage for each day. But what I want to do is count the number of
> blanks in column C for each date.
> So "if $B$11:$B1000,"="[date] then countblank($C$11:$C1000)" is kind of what
> I'm shooting for but I can't wrap my brain around how to do it.
> I would like to report that on 4/1 we had 1,912 usage and 4 meters did not
> report (were blank).
> Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count if for blanks with 'or' Steve Stad Microsoft Excel Worksheet Functions 3 29th Mar 2010 07:14 PM
how to count blanks before today's date? MAANI Microsoft Excel Worksheet Functions 9 13th Sep 2008 07:15 PM
Count Blanks Paul Microsoft Excel Misc 4 6th Aug 2008 03:42 PM
How to count blanks and spaces that look like blanks =?Utf-8?B?QmVu?= Microsoft Excel Programming 1 10th Jul 2007 06:34 PM
Count the blanks Mark Solesbury Microsoft Excel Worksheet Functions 1 24th Mar 2007 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:10 AM.