+ Reply to Thread
Results 1 to 5 of 5

Dictionary of synonyms - Enhance without creating duplicate

  1. #1
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Dictionary of synonyms - Enhance without creating duplicate

    Hi,

    i have two worksheets "Original List" and "New List".
    "Original List" contains three columns A, C and D. Column A contains words of First langauge sperated by ";", ",", or numbers like "1.", "2."... Column D contains the translation of words from A in Second language. For example:

    It is now"Original List":
    ColumA............................................................ColumnC............ColumnD
    1. Beautiful; Attractive 2. Pretty 3. Lovely.............adj....................Schön; Attraktiv, hübsch, reizend, anziehend
    goodlookin, lovely; nice.....................................adj....................hübsch; aziehend


    I need to copy wordlist from "Original List" into "New List" worksheet in a broken and enhanced form.


    It should be"New List":
    ColumA............................................................ColumnC............ColumnD
    Beautiful..........................................................adj. ..................Schön; Attrakiv, hübsch, reizend, anziehend
    Attractive.........................................................adj. ..................Schön; Attrakiv, hübsch, reizend, anziehend
    Pretty..............................................................adj. ..................Schön; Attrakiv, hübsch, reizend, anziehend
    Lovely.............................................................adj. ..................Schön; Attrakiv, hübsch, reizend, anziehend, hübsch [ hübisch is from duplicate Lovely in second row]
    goodlooking......................................................adj. ..................hübsch; aziehend
    lovely..............................................................adj. ..................hübsch; aziehend [this should not be added cus it already exists 4th row (no duplicate rows should be allowed in Column A)]
    nice.................................................................adj. ..................hübsch; aziehend

    There should be now duplicate rows in Column A of "New List". And there should be no duplicates inside the cells of Column D in "New List".

    I am uploading an example list and appreciate each help.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Dictionary of synonyms - Enhance without creating duplicate

    Here you go!

    I tried posting the code but it picked up as a SQL injection.


    The only part that's throwing me off is that you say no duplicates should be in D, but in both your post and your attached example you have included the duplicate hübsch.
    Last edited by daffodil11; 08-11-2015 at 02:45 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Re: Dictionary of synonyms - Enhance without creating duplicate

    Dear daffodil11, thank you a million times. It really is great solution. I will try to find another code which I can run after yours to remove duplicates inside the Column D.
    If someone else already has a solution it will be great.
    What is yet to be done:
    Cells in Column D have members seprated by ";" or ",". Now some of them contain duplicates, for example: "pretty, beautiful; pretty, nice". I need the duplicates to be removed like the word "pretty" is two times here.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Dictionary of synonyms - Enhance without creating duplicate

    Hi wali,
    try this
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Re: Dictionary of synonyms - Enhance without creating duplicate

    dear nilem, spasibo balshoi dlia washe pamoch (= thank you very much for your help)

    I need the commas "," and semicolons ";" in the results. i will be very thankful if you could please modify the code so that it keeps the commas and semicolons in column D but removes duplicates.

+ 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. Dictionary - Using a dictionary of dictionaries to hold individual orders
    By wazimu13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2015, 08:32 PM
  2. Creating a new custome spelling dictionary using vba in excel 2007
    By noam626 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2014, 10:42 AM
  3. Creating Dictionary of Dictionaries
    By Dodo123 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 03-02-2014, 11:30 AM
  4. Creating a dictionary from single RTF files
    By janschepens in forum Excel General
    Replies: 0
    Last Post: 02-04-2011, 01:38 PM
  5. Dictionary Data: enhance meanings in column D through column A
    By wali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2009, 04:03 PM
  6. Enhance wordlist through synonyms in Col.D
    By wali in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-25-2008, 11:56 PM
  7. [SOLVED] synonyms
    By SURESH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2005, 01:05 PM

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