+ Reply to Thread
Results 1 to 5 of 5

Advanced Filter Problem

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    Milford, CT
    MS-Off Ver
    Excel 2010
    Posts
    12

    Advanced Filter Problem

    I am trying to use advanced filter to pull data from one of my company reports regarding employee worked hours. I've done this before but it's been a few years in a previous version of Excel and I am only getting half the info I need at this point.

    I have a company report that lists all the worked hours for each employee for the previous week. I need to filter by their status, either full or part time as indicated by F or P, as well as total worked hours IE <40. I am also moving the data to a separate tab in the workbook since I have to create 4 different filters.

    my problem is that when I apply the filter it just pulls all the data from the data source without applying either filter, the criteria is correct and I even checked for phantom spaces and that didn't make a difference. All of the header labels match. Any thoughts?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Advanced Filter Problem

    Can you paste an example of your source code?

    I've written about a dozen of these things, so I could probably tell just by looking at your VB.

    Something like:


    Please Login or Register  to view this content.

    If you're willing to attach an example workbook with sensitive data removed, I'll gladly send it back with the working macro. (I hope!)
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    09-05-2013
    Location
    Milford, CT
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Advanced Filter Problem

    I don't how to pull up the source code but I can send the file if you PM me an email address

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Advanced Filter Problem

    I'll take a crack at it and post any pertinent technical information that may assist others with whatever issues I find.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Advanced Filter Problem

    Having reviewed OP's file, it appears the filtering issue was caused by strange exporting formats.

    Values and strings were both being stored in non-recognized formats.

    I was able to work with the data by copying sample cells from the source data into the filter cells to acquire the same formats. Then, I entered an extraneous 1 in an empty cell and selected all of the source data and used Copy -> Paste Special -> Multiply to force Excel to evaluate all numbers and string values.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Advanced Filter Problem
    By dhaval123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-27-2013, 02:17 AM
  2. Advanced Filter Problem
    By bjwade62 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2012, 10:47 AM
  3. Advanced Filter problem
    By LisaK in forum Excel General
    Replies: 1
    Last Post: 04-03-2008, 11:09 AM
  4. Problem with Advanced Filter
    By ice_breaker in forum Excel General
    Replies: 3
    Last Post: 10-02-2007, 10:35 AM
  5. Advanced Filter problem
    By SB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2005, 09:06 AM

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