Y T Nuke  
Results 1 to 7 of 7
Folks. I have an Excel file with over 1M records. There is only one column ...
  1. #1
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,329
    Reputation
    422
    Thanks
    569
    Thanked 2,147 Times in 400 Posts

    Default Excel: How to extract cell contents based on keywords (HELP)

    Folks.

    I have an Excel file with over 1M records. There is only one column of data.

    I have a list of keywords in notepad.

    I somehow need to take the keyword in notepad (ie 'seo') and extract every cell in Excel that contains the word 'seo'.

    I realize that I can do conditional formatting but due to the size, this will take a VERY long time and lock up the computer when sorting by the format.

    Any tips or suggestions?
    **F R E E** 5GB of Storage + File/Folder Sync between PC, i/Mac, Android and more. Access from phone/browser. SugarSyncFree.com 10x Better than Dropbox!!!

  2. #2
    bhstudent is offline Junior Member
    Join Date
    Nov 2011
    Posts
    119
    Reputation
    21
    Thanks
    73
    Thanked 18 Times in 15 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    If you know some sql, load it up into phpmyadmin and do a query for regex seo. Another way will be to filter data in excel easy for ascending/descending, but that might not be so effective depending on how it is. Easiest way I think is the mysql with regex.

  3. The Following User Says Thank You to bhstudent For This Useful Post:

    CoyoteAssassin (02-09-2012)

  4. #3
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,329
    Reputation
    422
    Thanks
    569
    Thanked 2,147 Times in 400 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    I'm glad that you understand what I am asking for. I've only used SQL and phpMyAdmin when installing scripts but that is it.

    The ideal approach would be to dump all of my keywords into a file, the the script will then build a list of text (from Excel) based on the matches.

    That way, 'seo' will have its on results page, 'tree' will have its own, and 'garden' will have its own.
    **F R E E** 5GB of Storage + File/Folder Sync between PC, i/Mac, Android and more. Access from phone/browser. SugarSyncFree.com 10x Better than Dropbox!!!

  5. #4
    Topher is offline Registered Member
    Join Date
    Aug 2010
    Location
    Atlanta
    Posts
    73
    Reputation
    19
    Thanks
    56
    Thanked 49 Times in 24 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    What bhstudent suggested is correct. Just thought i'd suggest an alternative... You can also create a ms access database and import the spreadsheet. Then create query to filter the data. i.e SELECT youfieldname FROM yourtablename WHERE yourfieldname LIKE '%seo%'

  6. The Following User Says Thank You to Topher For This Useful Post:

    CoyoteAssassin (02-10-2012)

  7. #5
    flc735's Avatar
    flc735 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    141
    Reputation
    19
    Thanks
    48
    Thanked 12 Times in 12 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    this would be my solution

    -paste into word
    -use "replace all" to replace every "seo" into "8seo8"
    -replace all spaces with "7"
    -paste back into excel
    -(im using excel 07) highlight column and go to data>text to columns>delimited, and set delimiter as "8"
    (this will use the number 8 to use as column separators)
    -insert a row at the top
    -highlight all 3 columns and click filter
    -filter each column alphabetically to easily find and delete the non seo words and delete them by row

    now you have all your seo keywords with the 7's still in there
    -in column 4, row 2 type "=a2&b2&c2"
    -copy and paste that formula down the column.
    -copy and pastespecial>values to get the actual phrase back to 1 column again
    -copy and paste into word again and use "replace all" to change the 7's back to spaces

    fin

  8. #6
    bertbaby's Avatar
    bertbaby is offline Senior Member
    Join Date
    Apr 2009
    Location
    USA
    Posts
    1,063
    Reputation
    125
    Thanks
    1,303
    Thanked 418 Times in 321 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    You could use the data query command in Excel. Or use a datafilter and use teh Text Contain command with the keyword as the text. Extract and repeat for the next keyword. How are you with Crystal Reports?

  9. The Following User Says Thank You to bertbaby For This Useful Post:

    CoyoteAssassin (02-10-2012)

  10. #7
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,329
    Reputation
    422
    Thanks
    569
    Thanked 2,147 Times in 400 Posts

    Default Re: Excel: How to extract cell contents based on keywords (HELP)

    Thanks guys. These are good suggestions and I'll give each one consideration.

    :-)
    **F R E E** 5GB of Storage + File/Folder Sync between PC, i/Mac, Android and more. Access from phone/browser. SugarSyncFree.com 10x Better than Dropbox!!!

Natural Slow Link Building


SEO Blasts - High quality link building service

Similar Threads

  1. Replies: 1
    Last Post: 11-21-2011, 07:26 PM
  2. Replies: 0
    Last Post: 03-21-2011, 09:14 AM
  3. need to add in rss feed based on keywords
    By residnt in forum Cloaking and Content Generators
    Replies: 10
    Last Post: 04-20-2009, 05:25 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
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76