Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Using the count function within subtotal on a filter list

I have a column of data with either "Yes" or "No" (100 rows) and want to use
the subtotal function with the count criteria for the number of "yes" or "no"
when I filter. Please help, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Using the count function within subtotal on a filter list

See help on Subtotal function for a list of the numbers used in the
argument.

There are 11 possible arguments............2 is count.


Gord Dibben MS Excel MVP


On Thu, 21 May 2009 08:21:01 -0700, Neil M <Neil
wrote:

I have a column of data with either "Yes" or "No" (100 rows) and want to use
the subtotal function with the count criteria for the number of "yes" or "no"
when I filter. Please help, thanks.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Using the count function within subtotal on a filter list

If you filter on the column with Yes/No then all visible results will either
be all Yes or all No.

=SUBTOTAL(3,A2:A100)

If you filter on a different column and the Yes/No column displays both Yes
and No then it's more complicated. Post back if that's what you wanted to do
(and let us know the EXACT range to be counted).

--
Biff
Microsoft Excel MVP


"Neil M" <Neil wrote in message
...
I have a column of data with either "Yes" or "No" (100 rows) and want to
use
the subtotal function with the count criteria for the number of "yes" or
"no"
when I filter. Please help, thanks.



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Using the count function within subtotal on a filter list


You can use below formula while using filter .... 103 will ignore hidden
values and only count unhidden value .......

=SUBTOTAL(103,A2:A100)


--
mubashir aziz

If this post helps Don't 4get to click Yes
------------------------------------------------------------------------
mubashir aziz's Profile: http://www.thecodecage.com/forumz/member.php?userid=237
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=98893

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,696
Default Using the count function within subtotal on a filter list

We can't do a COUNTIF with a SUBTOTAL. We may be able build a formula based
on the data you are filtering.

"Neil M" wrote:

I have a column of data with either "Yes" or "No" (100 rows) and want to use
the subtotal function with the count criteria for the number of "yes" or "no"
when I filter. Please help, thanks.

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
Function for count a list of repeatitive names Alvaro ST Excel Discussion (Misc queries) 2 August 13th 08 04:22 PM
Using Count Function on Filtered List NJFergs Excel Discussion (Misc queries) 1 March 28th 07 02:11 AM
SUBTOTAL and FILTER confused Excel Worksheet Functions 5 June 21st 06 01:57 PM
Function to count unique items in list XP Excel Worksheet Functions 2 April 10th 06 06:30 PM
How do I filter a list using a greater than todays date function? LV Excel Worksheet Functions 2 April 29th 05 06:07 PM


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