View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dr Happy
 
Posts: n/a
Default Using COUNTIF with visible rows only

I am trying to analyse visible only rows. I have columns called NAME (sorted
alphabetically), GROUP (e.g. S1 through S7) and RESULT (numeric 1 to 5). I
need to count how many 4's there are in the RESULT column, and I want to
auto-filter so I only display group S1 or S2 etc but the count has to reflect
only those rows which are visible. The SUBTOTAL function doesn't seem to
allow for this. I somehow need to mix SUBTOTAL with COUNTIF. Help.