+ Reply to Thread
Results 1 to 11 of 11

advanced filter - data not being copied across

  1. #1
    Registered User
    Join Date
    02-23-2011
    Location
    Hampshire, England
    MS-Off Ver
    Excel 2007
    Posts
    71

    Exclamation advanced filter - data not being copied across

    I have a list of data which I know exists and I want to copy to another location using the advanced filter but the data is not being copied across. The filter criteria is correct.

    Any ideas?

  2. #2
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: advanced filter - data not being copied across

    the location criteria should be from the same worksheet else the Advance filter will not work, please attach the sheet u are working on for a better view of the problem

  3. #3
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: advanced filter - data not being copied across

    It should not in fact matter which sheet the criteria are on. It would appear to me that you have ruled out the only possible cause based on what you say, but if you remove the criteria, does the data copy across?
    Good luck.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: advanced filter - data not being copied across

    Quote Originally Posted by adaws View Post
    the location criteria should be from the same worksheet else the Advance filter will not work, please attach the sheet u are working on for a better view of the problem
    I don't believe this to be quite an accurate statement.

    Are you saying, if the criteria is on Sheet3 and the destination is also Sheet3 then the source data cannot be on Sheet2 (For Example)?
    HTH
    Regards, Jeff

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: advanced filter - data not being copied across

    1 test if the filter is working by filtering in place.
    2 to filter to another worksheet you must start the filter from that sheet and use absolute cell reference with the sheet name included ie copy to sheet2!$a$1
    see attached
    also read here
    http://www.contextures.com/xladvfilter01.html
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    02-23-2011
    Location
    Hampshire, England
    MS-Off Ver
    Excel 2007
    Posts
    71

    Re: advanced filter - data not being copied across

    The filter does work.

    The filter criteria is on a separate sheet to the source data and I am copying the sorted data on to the same sheet as the source data. What is really odd is that the first column is copied over but not the rest of the data.

    It worked fine in v.2003.

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: advanced filter - data not being copied across

    Maybe it's time to post the offending workbook so it can be tested

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: advanced filter - data not being copied across

    works fine for me ,but you must select all columns to be copied across ,so if you advance filter on col a you need to select a,b,c,and d apply the filter to a
    and b,c,&d will also copy

  9. #9
    Registered User
    Join Date
    02-23-2011
    Location
    Hampshire, England
    MS-Off Ver
    Excel 2007
    Posts
    71

    Re: advanced filter - data not being copied across

    Unfortunately, it is very large, very complex and contains confidential data.

  10. #10
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: advanced filter - data not being copied across

    Which version are you currently using? (I can not actually replicate that issue in either 2007 or 2010)

  11. #11
    Registered User
    Join Date
    02-23-2011
    Location
    Hampshire, England
    MS-Off Ver
    Excel 2007
    Posts
    71

    Re: advanced filter - data not being copied across

    Silly error.

    The copy reference was for one column ... duh!

+ 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