View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default subtotal function

Greg,

Subtotal needs a little help to do that.

=SUMPRODUCT(SUBTOTAL(3,OFFSET(D6:D1000,ROW(D6:D100 0)-MIN(ROW(D6:D1000)),,1))*(D6:D1000="Yes"))

Mike

"Greg" wrote:

This is sort of a continuation of my question from this morning. Is there a
way to use the subtotal function with anything other than the 11 that I have
found listed? From what I can tell the function is laid out like
=SUBTOTAL(2,D6:D1000) and that will get me a total count when I use the
filter. Now I am trying to see if I can somehow replace the number 2 with
something that will do countif so I can count how many "Yes" fields there are
left in the filtered list. any ideas?

 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.