#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Countbalnk Formula

I am trying to use the Countblank formula in conjuction with the Auto Filter
Function. Let me try and explain. I have data listed in date order in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F. The
problem is, the CountBlank formula counts all the blanks in that column. So
I think what I need is something similar to the Subtotal function you use to
total columns hen using the sutofilter, only I need it to count the blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.


  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Countbalnk Formula

Maybe use the SUBTOTAL formula to COUNT the total number of filtered cells on
a contiguious column, and then subtract the COUNT of those cells in your
dated column which have been completed.

=SUBTOTAL(2,A:A)-SUBTOTAL(2,b:b)

hth
Vaya con Dios,
Chuck, CABGx3



"Craig" wrote:

I am trying to use the Countblank formula in conjuction with the Auto Filter
Function. Let me try and explain. I have data listed in date order in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F. The
problem is, the CountBlank formula counts all the blanks in that column. So
I think what I need is something similar to the Subtotal function you use to
total columns hen using the sutofilter, only I need it to count the blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 87
Default Countbalnk Formula

You could probably do the following:

=SUBTOTAL(3,E2:E100)-SUBTOTAL(3,F2:F100)

That is, count the number of rows by doing a COUNTA on column E (which
you seem to have implied always has data), then subtract the number
that have a value in column F, by doing a COUNTA on column F. The
difference is the blank cells.

Scott

Craig wrote:
I am trying to use the Countblank formula in conjuction with the Auto Filter
Function. Let me try and explain. I have data listed in date order in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F. The
problem is, the CountBlank formula counts all the blanks in that column. So
I think what I need is something similar to the Subtotal function you use to
total columns hen using the sutofilter, only I need it to count the blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Countbalnk Formula

The problem is the columns contain Dates. I am thinking that maybe this is
not possible.


"Scott" wrote in message
ups.com...
You could probably do the following:

=SUBTOTAL(3,E2:E100)-SUBTOTAL(3,F2:F100)

That is, count the number of rows by doing a COUNTA on column E (which
you seem to have implied always has data), then subtract the number
that have a value in column F, by doing a COUNTA on column F. The
difference is the blank cells.

Scott

Craig wrote:
I am trying to use the Countblank formula in conjuction with the Auto
Filter
Function. Let me try and explain. I have data listed in date order in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F.
The
problem is, the CountBlank formula counts all the blanks in that column.
So
I think what I need is something similar to the Subtotal function you use
to
total columns hen using the sutofilter, only I need it to count the blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 87
Default Countbalnk Formula

Not to be rude... but you might want to test this, not just think about
it. If you have a Date in a cell (say A1), the formula COUNTA(A1) = 1.
Similarly, if you use SUBTOTAL(3, A1) you'll get 1 if cell A1 is not
excluded by your filter.

Of course, I may not know some of the particulars of your spreadsheet.


Scott

Craig wrote:
The problem is the columns contain Dates. I am thinking that maybe this is
not possible.


"Scott" wrote in message
ups.com...
You could probably do the following:

=SUBTOTAL(3,E2:E100)-SUBTOTAL(3,F2:F100)

That is, count the number of rows by doing a COUNTA on column E (which
you seem to have implied always has data), then subtract the number
that have a value in column F, by doing a COUNTA on column F. The
difference is the blank cells.

Scott

Craig wrote:
I am trying to use the Countblank formula in conjuction with the Auto
Filter
Function. Let me try and explain. I have data listed in date order in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F.
The
problem is, the CountBlank formula counts all the blanks in that column.
So
I think what I need is something similar to the Subtotal function you use
to
total columns hen using the sutofilter, only I need it to count the blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Countbalnk Formula

Thanks for the help Scott. Here is what I did and a little more
information. In column A I have a date (Date of Last Testing) and in Column
B I have the (Current Test Date). So what I wanted is to use autofilter and
select everything I tested on 6/30/06 and get a count on how many I have
left to test (Column B Blanks).

This is what I did for a solution. In may have not been the best but I
added a two helper columns with IF statement. If a1<"",1,"" so this will
give me a 1 in column C for (Date Last Tested), this should always =1. IN
column D my IF statement was IF b1="",1,"". So this gives me a vaule on 1
if the cell is blank. then at the of the autofilter I can use the Subtotal
command and get a count of the blanks.



"Scott" wrote in message
oups.com...
Not to be rude... but you might want to test this, not just think about
it. If you have a Date in a cell (say A1), the formula COUNTA(A1) = 1.
Similarly, if you use SUBTOTAL(3, A1) you'll get 1 if cell A1 is not
excluded by your filter.

Of course, I may not know some of the particulars of your spreadsheet.


Scott

Craig wrote:
The problem is the columns contain Dates. I am thinking that maybe this
is
not possible.


"Scott" wrote in message
ups.com...
You could probably do the following:

=SUBTOTAL(3,E2:E100)-SUBTOTAL(3,F2:F100)

That is, count the number of rows by doing a COUNTA on column E (which
you seem to have implied always has data), then subtract the number
that have a value in column F, by doing a COUNTA on column F. The
difference is the blank cells.

Scott

Craig wrote:
I am trying to use the Countblank formula in conjuction with the Auto
Filter
Function. Let me try and explain. I have data listed in date order
in
colum e; and in column F I have the date which I have tested the data.
ANyway not that that information matters. I want to be able to select
a
date in column E using the auto filter feature and want to use the
CountBlank formula to count how many blank cells show up in column F.
The
problem is, the CountBlank formula counts all the blanks in that
column.
So
I think what I need is something similar to the Subtotal function you
use
to
total columns hen using the sutofilter, only I need it to count the
blank
cells.

Does anyone have any idea how I can do this?

Thanks for the help.




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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 08:41 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"