+ Reply to Thread
Results 1 to 6 of 6

Problem with Autofilter not recognising new data

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Problem with Autofilter not recognising new data

    Hey guys,

    I'm having an issue with an autofilter i'm applying. Basically I work in a hotel and through the month staff put all the maintenance jobs that have been done into a spreadsheet throughout the month.

    Then i've set up a separate document importing that data into the first worksheet, then transfer the data into other worksheets of each individual unit and filtering to only display the maintenance jobs from that particular unit (eg: 201 or 202 ect) that i use to apply charges to the individual unit owners accounts as i get time throughout the month.

    That's all well and good but the problem i'm having is it will not recognise any new data put in either spreadsheet without re-applying the filter, it will input it into the unit spreadsheet but not display on the individual sheets that already have the filter applied. I've tried this with just a regular autofilter or an advance filter using the following code;

    Please Login or Register  to view this content.
    I would prefer to use the code because it will make setting up new units and applying it to our other properties a lot faster/easier but not sure if that's possible?

    Any help will be greatly appreciated because i've just spent the last couple of days trying every possibility i can think of or google will spit out.
    Last edited by dominicb; 07-03-2011 at 04:21 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Problem with Autofilter not recognising new data

    Hello,

    have you

    - verified that the code runs?
    - made sure that the range for the table is sufficient?

    Can you upload an acutal Excel file that displays the issue? Please replace confidential data with dummy text before uploading.

    cheers,

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

    Re: Problem with Autofilter not recognising new data

    If the data to be filtered is the only entries on the sheet then use UsedRange
    Please Login or Register  to view this content.
    If not then
    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    06-22-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Problem with Autofilter not recognising new data

    Ok, haven't uploaded a file here before but here goes.

    It's filtering fine, but if i enter new data into the first sheet (or the other document) it will not trickle down into the filtered sheets, if i then go and re-save/re-enter the filter it will import it but i want to avoid doing that every time i go to the document.

    P.S. Forgive the poor formatting, was going to deal with that once i see that all formulas work properly.
    Attached Files Attached Files
    Last edited by volvodriver; 07-03-2011 at 04:48 AM.

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

    Re: Problem with Autofilter not recognising new data

    It seems to have unnecessary formulas in. Why don't you just copy & paste the new entries into the data? Alternatively use Excel's Table feature.

  6. #6
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Problem with Autofilter not recognising new data

    July Unit Charges.xlsm
    Quote Originally Posted by volvodriver View Post
    Ok, haven't uploaded a file here before but here goes.
    Hi

    Why not just have a single sheet for the Individual Apartment detail, and use Advanced Filter to extract the data just relating to that apartment.
    In the attached workbook, I have set up some Dynamic ranges, and then used event code on the Sheet called Apartment, so that when you choose a different apartment number from the dropdown list in cell C2, a macro is run which extracts the data relating to that department and puts in the totals.

    Please Login or Register  to view this content.
    Last edited by Roger Govier; 07-03-2011 at 08:04 AM.
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

+ 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