+ Reply to Thread
Results 1 to 6 of 6

Advanced Filter Excel 2010

  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    31

    Advanced Filter Excel 2010

    Hi All, I have created the attached spreadsheet. I got multiple macros, one thing I can't figure out is using the advanced filter I am filtering the data within the Interface tab. All filters work fine except the date range???

    I am using the formula: =IF(C7="","",">="&C7) and =IF(C8="","","<="&C8) on cells J3 and K3 as criteria. When I run this I get an error, when I update the formula to =IF(C7="","","="&C7) just remove the greater operator and no formula in K3 or no end date selected it works fine. I am really not sure what is wrong.

    Well system does not let me attach the spreadsheet due to it is being over 1MB, I would really appreciate any help.

    Regards,

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Advanced Filter Excel 2010

    Cut out all but a few rows from your spreadsheet and re-attach. Not sure what you are trying to do - use a better explanation of what you want instead of what you tried, since what you tried doesn't work.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    09-23-2014
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    31

    Re: Advanced Filter Excel 2010

    Quote Originally Posted by Bernie Deitrick View Post
    Cut out all but a few rows from your spreadsheet and re-attach. Not sure what you are trying to do - use a better explanation of what you want instead of what you tried, since what you tried doesn't work.
    Form.zip

    Ok attached the zip file, removed bunch of data and pivot tables, so the macro will probably fail now no matter what. But all I want to do is to filter the data by the selected date.

    Regards,

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Advanced Filter Excel 2010

    This shows how to use the advanced filter option in Excel, with the correct criteria range setup, and a macro to apply/clear the filters.

    Form upload.xlsm

  5. #5
    Registered User
    Join Date
    09-23-2014
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    31

    Re: Advanced Filter Excel 2010

    Quote Originally Posted by Bernie Deitrick View Post
    This shows how to use the advanced filter option in Excel, with the correct criteria range setup, and a macro to apply/clear the filters.

    Attachment 353942
    Thank you for your help, it does work on the spreadsheet you sent however, when I apply the same to mine it does not. I will try to trouble shoot it and find what I am doing wrong.

  6. #6
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Advanced Filter Excel 2010

    Use the same formulas that I have, with the same structure. Change all the Date values in your database to actual dates rather than text which requires formatting the cells as dates and re-entering the values (with a new column, using formulas is easiest). And the date values in your filter entry cells need to be formatted and entered as dates as well.

    Otherwise, you could set up a helper column of formulas to return True or False to allow filtering based on the text 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. [SOLVED] Excel 2010 Advanced Filter
    By dbsbender in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-08-2013, 08:50 AM
  2. excel 2010 - reasons why advanced filter returns ALL ROWS and not criteria set?
    By wyattea in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 09-13-2013, 08:38 PM
  3. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  4. Excel 2010 Advanced Function Filter problems - 2007 issues
    By adamwestrop in forum Excel General
    Replies: 3
    Last Post: 07-29-2011, 01:52 PM
  5. [SOLVED] advanced filter a range:Advanced Filter function
    By Il Principe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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