+ Reply to Thread
Results 1 to 9 of 9

Advanced Filter deleting first rows.

  1. #1
    Registered User
    Join Date
    07-21-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    17

    Advanced Filter deleting first rows.

    I have a file with a fund 'ID_number' column, and a 'return' column with 100000+ entries. All the ID numbers have multiple entries. I am currently trying to filter these down to a select column of 'relevant' ID numbers.

    Since my 'relevant' list is over 300+ long, and this would take too long using the normal drop-down 'filter' boxes, I have used the Advanced Filter function.

    This solution has worked, except I have one problem. For some weird reason, Excel filters out all but one of the rows for the first fund ID.

    So, I get all the funds i want, with many rows worth of data for each fund ID (what Im looking for, since I'm looking at different monthly returns), but for some reason I only get 1 row for the 1st fund ID.

    Anyone know whats going on?

  2. #2
    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 deleting first rows.

    make sure you include a header row or else the first row gets treated as a headers and isnt filtered
    "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

  3. #3
    Registered User
    Join Date
    07-21-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Advanced Filter deleting first rows.

    Unfortunately, when I include the header the filtering doesn't work at all...I can't figure out why. I've also tried inserting some 'fake' rows of data in the hope that the filter will simply delete those rows and leave the rest of my data in tact, but again, when I try that approach the filtering just doesn't work...

    Advanced Filter seems pretty temperamental to me! :P

    Jodapo

  4. #4
    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 deleting first rows.

    what are you doing with the advance filter?

  5. #5
    Registered User
    Join Date
    07-21-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Advanced Filter deleting first rows.

    I need to filter an array of numbers. usually would do this using normal filter and clicking the boxes on the dropdown, but I need to filter an array of 4000+ numbers from a list of approx 400,000 records...

  6. #6
    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 deleting first rows.

    no i meant exactly,are you you using a criteria range,if so how have you constructed it.

  7. #7
    Registered User
    Join Date
    07-21-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Advanced Filter deleting first rows.

    The Criteria range is just a column of numbers pasted below the table that I need to be filtered...the table has several columns, the leftmost one of is the 'ID' column which I would like filtered.

  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 deleting first rows.

    need to see it! make up a smaller version that has the same problem

  9. #9
    Registered User
    Join Date
    07-21-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Advanced Filter deleting first rows.

    Hey.

    Sorry for the delay - was having problems with the internet connection over the past week.

    Just figured out how to filter using the IF and LOOKUP function, which solves the problem with using the advanced filter function!

    Thanks anyway


    Jodapo

+ 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