+ Reply to Thread
Results 1 to 7 of 7

Splitting MASSIVE excel sheet + Filtering rows with profanity

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    7

    Splitting MASSIVE excel sheet + Filtering rows with profanity

    Background: I have a massive excel document of over 1.5 million rows. The document consists of 3 columns: name, state, zip and the rows are separated by the state column. What i'm trying to do is the following:

    1. Split these into separate documents by state. Right now I'm scrolling through trying to find where one state ends and the other begins. It's taking forever. Is there an easier way?

    2. Remove any rows that have common profanity, e.g., "****, ****, etc." If I had a complete list of words I want to filter out, is there something I can do to automate it?

    Any help would be appreciated.

    Thanks.

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    Please upload a sample workbook with an abstract of your data set so that a code could be worked out...

    Thanks.
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    Thanks for the reply. Please check your inbox.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    Hi

    Not that its really that relevant, but I dont see how you can
    I have a massive excel document of over 1.5 million rows
    when excel only has 1,048,576 rows in the 1st place?

    And you make reference for kbk to "check their inbox"? Unless this is to their personnal email account, you cannot send files to PM's here.

    If you are sending sensitive info out, even through email - or through the forum, I would STRONGLY suggest you sanitize it 1st, no matter who you are sending to!
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    Thanks FDibbins
    .

    I had also communicated a similar message to OP on the PM i received.

    Best,
    K B Kumar

  6. #6
    Registered User
    Join Date
    02-01-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    Hi all,

    Here is a sample of what the spreadsheet may look like. They need to be saved in .csv.

    sample.csvsample.csv

    overview:
    • The rows are: first, last, state, zip.
    • The document is filtered by state.

    Questions:
    1. Is there an automated/quick way to split this file by state (e.g., all rows with "MA" go into one file.)
    2. Is there a way to then find and remove names that include profanity (e.g., the word **** is scattered throughout the document. I'd like those entries deleted automatically if possible.)

    Thanks.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Splitting MASSIVE excel sheet + Filtering rows with profanity

    you could apply filters, based on state, then copy what remains to another worksheet - it will not copy the hidden rows.

    As far as removing certain words is concerned (the forum server blocks whatever "word" you typed), you can remove these using either a single, or a series of, =substitute()

+ 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