+ Reply to Thread
Results 1 to 6 of 6

Using Array(s) to filter 13k+rows with 600+ keywords

Hybrid View

  1. #1
    Registered User
    Join Date
    01-20-2016
    Location
    288
    MS-Off Ver
    2016
    Posts
    29

    Using Array(s) to filter 13k+rows with 600+ keywords

    this has been one frustrating day, that's for sure. :-/

    here are the questions that i actually have.
    is there a more efficient way to do this? Or even an easier user interface. I mean, i put it together, so i know how to work it. But, when i pass it on for someone else to use, that's another story.

    I work 10K+ rows. Usually around 60-70k. i have 600+ key words that i am using to filter out the data with. with all of the sorting that i have to do, one filter is still way to much data to sort through all at once. So, i broke it up into 15 different filters.

    I have around 600 keywords I am filtering for right now.(and it will continue to grow). The number of rows typically exceed 10k. When I apply the filter, it doesn't catch everything. Maybe 60-65%. And i have to go and eyeball the rest that need to be removed. So, i broke up the arrays into smaller chunks to make it easier on the eyes. While sifting through what the filters don't catch, i'm deleting the ones i don't need and moving the ones that i want to keep to a different sheet, just so i can keep myself from going over the same ol' data over and over again, just because one filter doesn't catch it.

    Is there a more efficient way to get the same results?

    I download a list of data then export to excel. When I copy and paste the data to this sheet, it messes the Array's all up and I have to go back and correct every cell because it gives me a reference error showing that file path back to where it was saved previously. Is there a way around this? Maybe a Macro or something?

    (i just thought of this, but would protecting sheet, workbook or Mark as Final, solve that problem?)

    I really appreciate the help i have received from all of you folks in the forum. I hope that i will be able to pay it forward one day.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Using Array(s) to filter 13k+rows with 600+ keywords

    Try this UDF. Put it in a new module.

    Function FilterFind(Lookup As Range, FilterSet As Range) As Boolean
        Dim CL As Range
        For Each CL In FilterSet.Cells
            If CL & "" <> "" And InStr(Lookup, CL.Value) > 0 Then
                FilterFind = True
                Exit For
            End If
        Next
    End Function
    Usage

    =filterfind($A1,filter!$A$1:$AO$29)
    Attached Files Attached Files
    Last edited by Neil_; 01-30-2016 at 04:49 AM.
    Frob first, tweak later

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Using Array(s) to filter 13k+rows with 600+ keywords

    Hey there,
    I have kept 1000 rows of data for testing in the file attached.
    You just need to click the button.
    You can see the progress in the blue status bar below.
    This macro will delete all the rows except those found on filter sheet
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Registered User
    Join Date
    01-20-2016
    Location
    288
    MS-Off Ver
    2016
    Posts
    29

    Re: Using Array(s) to filter 13k+rows with 600+ keywords

    thanks for the suggestions. I'm still having difficulty with it. when i'm using the array's i have them set up now, it is not working right. If i use the filters one at a time from left to right, i cut a pretty good chunk of the junk out. But once i get to that point, it keeps pulling stuff up that should have been cleared from the first go around of filtering. I'm not sure what to do. I think i'm going to have to start over from scratch.

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Using Array(s) to filter 13k+rows with 600+ keywords

    Oops, posted by mistake.
    Post deleted

  6. #6
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Using Array(s) to filter 13k+rows with 600+ keywords

    Where are you facing problems?

+ 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. looking for keywords in text and returning a value from an array
    By yozzman87 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-15-2015, 12:59 PM
  2. [SOLVED] Search for keywords and copy rows containing keywords to new sheet
    By lenorsk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2013, 06:54 AM
  3. Need help in searching certain keywords from a array and displaying them
    By hone in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-16-2013, 03:28 PM
  4. Finding the top 4 highest keywords and number in an array
    By PatrickRoss in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2013, 05:36 AM
  5. [SOLVED] Filter for keywords
    By Kmarginal in forum Excel General
    Replies: 7
    Last Post: 01-10-2013, 08:53 AM
  6. command to filter multiple columns and search for words containing keywords
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-11-2012, 09:37 PM
  7. How to filter 100's of keywords in one go?
    By ramki in forum Excel General
    Replies: 1
    Last Post: 03-25-2009, 02:28 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