Results 1 to 5 of 5

Multiple Filters ,Advanced Filter and Autofilter

Threaded View

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    Newcastle upon Tyne , England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Multiple Filters ,Advanced Filter and Autofilter

    Hi

    Using excel 2003 sp3 on an XP machine.

    using VBA I have a control sheet which summerises variouse counts & totals of data held on a detail sheet. Bu using filters and counting the visable rows.

    Statistics on 50 columns of data held in several thousand (rows) mixed around eight business regionsheld in first column.

    The idea was that I could determin the number of affected rows by using Tick boxes on the control sheet and applying filters to the detail records

    A) checkbox indicates if I need filtering on the type of data in my detail sheet and apply the filter
    Selection.AutoFilter Field:=XX, Criteria1:="Y"

    B) Because I could not have more than two criteria on an autofilter column I resorted to using Advanced Filter on the column with the Business UNIT's,
    I Create a range write the criteria of the records to be filtered into the range, then apply an advanced filter using that range.

    Both of these work well indevidually, but I am getting inconsistant results when I mix them

    using the autofilter route I can select multiple tick boxes and the output is correct, and using the advanced filter I can select any combination of business units and the output is correct, however I cant get them to work together

    Any Ideas please


    Thanks

    as per sugestion will use advanced filter for all criteria
    Last edited by capetownandre; 04-27-2009 at 11:26 AM. Reason: solved

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