Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 109
Default Countif within a filtered sheet

Hi

Range F3:F545 contains 0 or 1

Formula in F2 =COUNTIF(F3:F545,"0")
this counts the number of 1's and works fine.

Is it possible to count the number of 1's in a filtered list.
So when filtered on the 0's, then F2 should display 0

Thanks

George Gee



  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 747
Default Countif within a filtered sheet

try subtotal function

=SUBTOTAL(2,F3:F545)

On Dec 7, 1:41*pm, "George Gee" wrote:
Hi

Range F3:F545 contains 0 or 1

Formula in F2 * =COUNTIF(F3:F545,"0")
this counts the number of 1's and works fine.

Is it possible to count the number of 1's in a filtered list.
So when filtered on the 0's, then F2 should display 0

Thanks

George Gee


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 109
Default Countif within a filtered sheet

Thanks for that, but that just counts the number of rows
that contain 0 or 1, when the list is unfiltered or filtered.

I want to display in F2 the number of 1's when filtered on 0,
which should of course be 0

George Gee


"muddan madhu" wrote in message
...
try subtotal function

=SUBTOTAL(2,F3:F545)

On Dec 7, 1:41 pm, "George Gee" wrote:
Hi

Range F3:F545 contains 0 or 1

Formula in F2 =COUNTIF(F3:F545,"0")
this counts the number of 1's and works fine.

Is it possible to count the number of 1's in a filtered list.
So when filtered on the 0's, then F2 should display 0

Thanks

George Gee



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 109
Default Countif within a filtered sheet

OK, this works: =SUBTOTAL(9,F3:F545)

Thanks
George Gee


"muddan madhu" wrote in message
...
try subtotal function

=SUBTOTAL(2,F3:F545)

On Dec 7, 1:41 pm, "George Gee" wrote:
Hi

Range F3:F545 contains 0 or 1

Formula in F2 =COUNTIF(F3:F545,"0")
this counts the number of 1's and works fine.

Is it possible to count the number of 1's in a filtered list.
So when filtered on the 0's, then F2 should display 0

Thanks

George Gee



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
Paseting filtered info into another sheet Nasim Excel Discussion (Misc queries) 0 July 19th 08 07:45 AM
Filtered table using Countif Elba Excel Worksheet Functions 6 June 23rd 08 07:00 PM
COUNTIF Function on filtered data TG Excel Discussion (Misc queries) 2 June 13th 08 03:51 PM
countif only visible cells (filtered) [email protected] Excel Worksheet Functions 8 August 16th 07 04:39 PM
AutoSum on a filtered sheet T. Valko Excel Discussion (Misc queries) 2 April 24th 07 01:02 PM


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