+ Reply to Thread
Results 1 to 7 of 7

valid english word

  1. #1
    Registered User
    Join Date
    02-02-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    62

    valid english word

    I have a CSV with more than 200000 words. some of the words are valid english word in dictionary ...some are not.
    I want to filter words which are valid only.

    Is there any way ?

    Thanks

  2. #2
    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,929

    Re: valid english word

    How would you determine what is valid and what is not? Remember, excel does not "speak" english, it speaks code
    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

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: valid english word

    Here is a snippet (Macro) that will highlight in red all misspelled words (according to the English dictionary).

    Once highlighted, perhaps you could use Conditional Formatting to perform some action on those words ?
    It is necessary to highlight the range containing the words to be checked, prior to running this macro.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-02-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: valid english word

    Thanks for the Macro. Will check this out.
    3 questions .... my excel knowledge is limited.

    1. How to run this Macro ?
    2. you said highlight the range containing the words to be checked.....how to do that ?
    3. Conditional formatting on red ? I just want a fresh list with dictionary words only.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: valid english word

    To run an example of how the macro functions ... enter a number of words on Sheet 1. Some spelled correctly, others not so. Then, hold down the left mouse button and drag it across the Sheet so all of the words
    are highlighted. Then click the SPELL CHECK button. The misspelled words will be changed to red color.

    If you don't understand the process of Conditional Formatting, you can do a web search for EXCEL CONDITIONAL FORMATTING. There are plenty of instructional examples on the net.

    There are other methods to delete the misspelled words as well: another macro (code) that will delete the words; or cut / paste those words to another Sheet for review, etc.

    I suggest you play around with the options and review the various instructions on the internet. When you have settled on what you want to do with the misspelled words, start another THREAD on this Forum and ask for assistance.
    It is always best to include an example file with your request, showing what you have accomplished so far and what your ultimate goal is.

    Hope this helps.

    (If this takes care of things for the time being, please mark this thread SOLVED. Up top, right side "THREAD TOOLS")

    ps: Thanks for the add rep.
    Last edited by Logit; 12-30-2016 at 11:11 AM.

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: valid english word

    zerodegree

    I was just reviewing the attachment here and discovered an error. This new attachment functions pretty much the same way except it highlight the entire cell where the misspelled word
    is located ( highlight in blue ). Also, no need to highlight the words prior to running the macro. Simpler !

    Thanks.
    Attached Files Attached Files

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: valid english word

    Ok .... got it straightened out. Here is a multi-purpose spell checker with color highlighting.
    Attached Files Attached Files

+ 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