+ Reply to Thread
Results 1 to 19 of 19

Trouble unfiltering rows

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Trouble unfiltering rows

    Hi, I have to filter 200,000 lines of data on 2 columns out of 10 columns. The criteria is filtering on 10 items in column 1 and 8 items in column 2...this is fine to filter, no troubles there. However, when I want to unfilter both columns Excel freezes up every time without fail..... I will be receiving different data every week but set up in exactly the same way...can anyone suggest another option in place of filtering..

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    Insert a helper column and enter consecutive numbers. Include this column when you filter/sort. When you want to return to the original order, sort all the data on the helper column.

    200K rows of data is a lot of data when you consider that you have 10 columns. Your Profile says that you are using Excel 2003 but that can't be correct as that version can only handle 65,536 rows. So, what version are you using? Please update your Profile with the correct Excel version that you are using. In addition, what version of Windows are you using and please give a description of your computer's specifications.

    Freezing can have several causes some of which are, not enough free space on the working hard drive, not enough ram which causes much data swapping back and forth between the hard drive and memory and a computer that is just not up to the task hardware-wise.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, sorry I will update my profile. I am using 2010 at home but the problem is at work where I am using 2013 with Windows (not sure of version) There is no sorting involved just filtering, so I don't think the helper column will work but I will give it a try. I think you are right with not enough space on the working hard drive...I think I will have to find an alternative to filtering. Thanks

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    Have you tried using Advanced Filter, copy to another location? That way you don't have to reverse the filter, just delete the results.

  5. #5
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, sorry for the absence, just got home from work...Yes I have copied the filtered results to another location...however my other work assistant wants to filter on other things to check on, so this option is no go...it must be the lack of computer memory....

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    You can set up different filter ranges with different criteria in them in different places on the same worksheet or on a different worksheet. You have your filter setup on one worksheet and your partner on another.

    A lack of computer resources can ruin ones' day for sure.

  7. #7
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    forgive my ignorance but I don't understand what you mean by setting up the filter ranges.. Either way you have to unfilter the data which is the problem, well really the computer's lack of memory....

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    If you use the Advanced filter and copy to another location, then the original list is untouched and doesn't require "resetting". The data extracted to the other location, is not interfering with the original and the copy can be deleted when you are finished with it.

    Here is an example of using the Advanced Filter twice to get two different results and the original data is untouched. There is no need to "unfilter" just delete the results when finished. You can leave the criteria ranges alone so that they can be used again.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, that was a good suggestion, I tried it but I have 2 columns that I am filtering on, one has 10 items to filter and the other has 8 items to filter. Are you saying do the first advanced filter on my 10 items and then do it again on my 8 items because you cannot do them together.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    Can you upload your workbook? Using the Advanced filter, you can filter on a lot of different items at the same time. If you can upload a sample of your workbook, give an example of what you are wanting to filter on and what you expect the result to be.

    I ask this because your description doesn't give any indication of what your data looks like or what exactly you are trying to use as a filter.

  11. #11
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, sorry had trouble attaching my file..I have attached a small sample file which shows I want 2 columns to be filtered on in the table with 4 specific criteria in each. Remember at work I have 10 different criteria in 2 columns that I need filtered on in a table of 200,000 lines. I tried your suggestion of using the advanced filter but I could only get it to work on 1 column, it doesn't work when I want to use both criteria. Hope you can help.
    Attached Files Attached Files

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    After seeing what you want, the easiest way to get the results is to use the standard filter with the buttons.
    First, select the Locations that you are interested in:
    Location.JPG

    Second, select the colours that you are interested in:
    Colours.JPG

    Result:

    Result.JPG

  13. #13
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, what you suggested is what I did originally. I can Filter both criteria, thats fine, it's just trying to unfilter 200,000 lines....that is where excel stops responding....I was hoping the advanced filter would be the answer and you could provide a suggestion on filtering 2 columns with a lot of criteria in both. I will just put it down to limited memory on my computer...Thanks for trying.

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    When working with your data, I found that entering all the criteria for the Advanced Filter resulted in a very confusing set of criteria that I wouldn't wish on anyone.

    You say that Excel "stops responding". This message will appear when Excel is still working and hasn't finished. It isn't the same thing as being "crashed" but you really can't tell the difference.

    200k Rows is going to take a long time to process.

    I would be tempted to make a temporary page to filter with. Copy the data to the temporary worksheet, filter the data and when finished, delete the temporary worksheet. It might work. I haven't a workbook with sufficient data to test that idea.

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    I have been experimenting with the advanced filter. You may want to visit this site to get some valuable information on the Advanced Filter http://www.contextures.com/xladvfilter01.html

    The filter that I tried was rather strange in that the areas and colours were repeated down the criteria ranges. Here is the result with the filter criteria on the left and the result of the filter to the right.

    F
    G
    H
    I
    J
    K
    L
    5
    Location Colours
    6
    area2 green Event Location Colours Agent
    7
    area2 white B Area2 White Wilson
    8
    area2 blue A Area8 Green Evans
    9
    area2 beige B Area6 White Smith
    10
    area4 green D Area8 Blue Andrews
    11
    area4 white B Area6 Beige Evans
    12
    area4 blue C Area2 Green Tomms
    13
    area4 beige A Area4 Beige Wilson
    14
    area6 green
    15
    area6 white
    16
    area6 blue
    17
    area6 beige
    18
    area8 green
    19
    area8 white
    20
    area8 blue
    21
    area8 beige

  16. #16
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, I did go to the contextures website in my early travels but it didn't help me for what I wanted when using advanced filtering...The example you provided is correct in the result and the same result you provided in a previous thread,,,the result is easy to get in a normal filtering process.....did you try another method?

  17. #17
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    The last method that I posted was what worked after many tries using different methods in the criteria area. I was always getting records that didn't belong and that isn't acceptable.

    The criteria as entered in message #15 F5:G21 is the way to go. I would use a separate worksheet for the advanced filter and when done just delete the worksheet. This shouldn't cause any problems for Excel.

    The Contextures site has a section for having the filtered data to appear on a separate worksheet which would make it easy to get rid of in your case.

    If you follow these directions you should have no problems. Just remember that the Criteria Range MUST be on the same worksheet as the source data.

    ------
    This is the text quoted from Contextures
    If the database is on one sheet, you can extract data to a different sheet, by using an Advanced Filter. In this example, the data is on Sheet1, and will be copied to Sheet2.
    1.Go to Sheet2
    2.Select a cell in an unused part of the sheet (cell C4 in this example).
    3. On the Excel Ribbon's Data tab, click Advanced
    4. Choose Copy to another location.
    5. Click in the List Range box
    6. Select Sheet1, and select the database.
    7. (optional) Click in the Criteria range box.
    8. Select the criteria range
    9. Click in the Copy to box.
    10. Select the cell on Sheet2 in which you want the results to start, or select the headings that you have typed on Sheet2.
    11. (optional) Check the box for Unique Values Only
    12. Click OK
    -------

  18. #18
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Trouble unfiltering rows

    Hi, now thread #15 makes sense, you were covering all options by repeating the criteria...and the steps you provided in your last post provided the reverse of filtered data, which is what I wanted. Thanks so much for your patience and assistance...this will make life easier.

  19. #19
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble unfiltering rows

    I'm glad that we were able to find something that you can make use of. Thank you for the feedback.

+ 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] Stop count down time if filtering/unfiltering the worksheet
    By boboivan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2015, 07:00 AM
  2. Trouble Hiding Rows
    By NickHoward in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-01-2011, 02:25 AM
  3. Having trouble inserting rows
    By Caligula83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2007, 07:05 PM
  4. VBA Trouble with Hiding Rows
    By Sarrina in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2005, 08:05 AM
  5. Trouble with skipping rows
    By Wazooli in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2005, 11:06 AM

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