Results 1 to 5 of 5

SubTotal Count(2)

Threaded View

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    SubTotal Count(2)

    Hi,
    I a formula in one of my cells so that when the data is filtered it will add up all the cells that have a yes in them. However I'm getting an error. If I use the countif formula it still adds all the cells with yes that are not in the filter selection.

    So can someone help me with the correct formula to use when I filter my data?

    Here is the problem
    =subtotal(2,G5:G999,"Yes")
    This works fine but wont work with the filter on it still counts all the "Yes".
    =COUNTIF(G5:G5004,"Yes")
    Thank You, Mike
    Last edited by realniceguy5000; 01-15-2009 at 12:48 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1