#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
UB UB is offline
external usenet poster
 
Posts: 120
Default Countif function

Hi
I have the following formula in one of the cell
=COUNT(IF((TRIM($C$4:$C$96)="P")*ISBLANK($M$4:$M$9 6),$A$4:$A$96))
because I am calculating number of rows where column 'c' has value 'p' and
colimn 'm' is blank.
But I have autofilter command using VBA code and I want the rows to be
counted based on the output of the filter results.
Example column 'N' has a filter where the selection is 'A' & 'B'.
I want the my formula
COUNT(IF((TRIM($C$4:$C$96)="P")*ISBLANK($M$4:$M$96 ),$A$4:$A$96)) to count
only filtered rows if the filter is used

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Countif function

Please refrain from multiposting, I already gave you an answer yesterday
that let you do this



--


Regards,


Peo Sjoblom



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
countif function jpmurray22 Excel Discussion (Misc queries) 1 September 29th 07 09:10 AM
please help how to combine IF function with Countif function Dinesh Excel Worksheet Functions 6 March 30th 06 08:28 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM
Countif/And Function acyakos Excel Discussion (Misc queries) 2 May 10th 05 09:16 PM


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