+ Reply to Thread
Results 1 to 5 of 5

Autofilter Excel 2007 vs Excel 2000

  1. #1
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Autofilter Excel 2007 vs Excel 2000

    In using Autofilter on a Date column in Excel 2007 compatibility mode (Vista) and in Excel 2000 (XP), I receive different selection criteria (see pictures attached). In Excel 2007, I can select by year, by month. In Excel 2000, I am presented with all dates available in the filtered column.

    I realize I can do a custom filter in Excel 2000 with a range of dates to select only the month I wish to query but this is cumbersome for the user. Is there VBA code available that will allow the same or similar selection criteria in Excel 2000 as is available in Excel 2007?

    Thanks for your help. J
    Attached Images Attached Images
    Last edited by jaslake; 09-09-2009 at 06:40 PM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Autofilter Excel 2007 vs Excel 2000

    can you use a PivotTable? If the data is the correct type 7 laid out in a rable you can group dates by periods- months, quarters etc

    http://excel-it.com/pivot_tables.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Autofilter Excel 2007 vs Excel 2000

    I'm currently using a pivot table to summarize all check register transactions by month, by category. The months are column headings and the categories are row headings such that I get total spending for each month by category. This pivot table then feeds another Budget worksheet so that budgeted spending is compared to actual spending (the source of actual spending being this pivot table).

    A user said "it would be nice if I could "drill down" and see my actual spending detail for a specific category". I told her I would look at that possibility and have considered two approaches:

    1. Give her access to the existing pivot table and allow her to double click on the category total for the month she wishes to query. This approach works and gives the user the information she's looking for. However, it creates another worksheet. So now we've got a bunch of extra worksheets hanging around and I've not figured out a way to automatically delete them when the user exits the newly created worksheet.

    If I could write code into the newly created worksheet upon creation such that it "killed" itself when deactivated, this might be a viable approach. But, I don't know how to do this and I'm not real keen on the idea anyhow.

    Is this approach even reasonable? Does it make any kind of sense to you? What issues will I be faced with down the road?

    2. The second approach was to use Autofilter. I've written procedures to allow the user to turn Autofilter on and off so she can do queries to her hearts content. This works perfectly on a platform running Excel 2007 compatibility mode (Vista). She can query on any Category for any month and get the answers she wants.

    However, running Excel 2000 (XP), the selection criteria is different. The month is not an available selection option, only the individual dates in the column are presented (see pictures with my original post).

    Creating another pivot table could be an option if the user can query only on the category and month she wishes to see (say, through a user input form...enter the Category and Month...the pivot table s created). Is this even possible?

    Thanks for your help and interest. J

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Autofilter Excel 2007 vs Excel 2000

    I found this reference tonight about "Self-Cleaning Pivot Tables" http://msdn.microsoft.com/en-us/libr...spx#ListingOne
    I've only played with it for a short while but it may address the issue of deleting extra sheets created by drilling down on a Pivot Table. I'd still like to find out if there is a way to make excel 2000 AutoFilter mimic Excel 2007 AutoFilter. Perhaps my children will get Excel 2007 for Christmas this year.
    I'll let you know what I make out.

    Thanks. J

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Autofilter Excel 2007 vs Excel 2000

    At this point, I'm going with this model http://msdn.microsoft.com/en-us/libr...spx#ListingOne. I made a few modifications and it seems to be doing what it's designed to do.

    I released the mods to my user (one of my children) this evening. We'll see if it fits her needs.

    Thanks for your help. J

+ Reply to Thread

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