Results 1 to 7 of 7

Count only Filtered Rows

Threaded View

jordan2322 Count only Filtered Rows 02-02-2012, 11:20 PM
dilipandey Re: Count only Filtered Rows 02-02-2012, 11:30 PM
jordan2322 Re: Count only Filtered Rows 02-02-2012, 11:59 PM
dilipandey Re: Count only Filtered Rows 02-03-2012, 12:21 AM
JapanDave Re: Count only Filtered Rows 02-03-2012, 12:25 AM
jordan2322 Re: Count only Filtered Rows 02-14-2012, 12:28 AM
dilipandey Re: Count only Filtered Rows 02-14-2012, 12:35 AM
  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Question Count only Filtered Rows

    Hi Guys,

    I have a database that has a filter applied, and the filters are used. How do i count only the number of rows that are displayed; (that meet the filter criteria); in VBA

    Sheet where filter is applied : "Database"
    1st Row is a header row
    Used Range Col A:P

    For example I apply the filter to only display rows that have the value "Jordan" in column J.
    Every Tenth Row in the filtered range contains "Jordan" so the following rows are shown
    Rows: 10, 20, 30, 40, 50, etc etc.
    therefore i want the macro to return the number of rows that are filtered. If 100 rows are present, then 10 "Jordan"s are found and the result should be 10
    Speculative example only

    Regards
    Last edited by jordan2322; 02-14-2012 at 12:28 AM.

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