+ Reply to Thread
Results 1 to 5 of 5

Text to columns, removing duplicates)

  1. #1
    Registered User
    Join Date
    03-20-2011
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    11

    Smile Text to columns, removing duplicates)

    Hello all,

    Need your help here. This is what I am trying to do. I have posted a sample workbook to hopefully help what i am trying to do get across clearer.


    https://spreadsheets.google.com/ccc?...UWlRGVFE&hl=en

    Column A contains the raw data I am working with. part of what i am trying to do is similar to my prior post (http://www.excelforum.com/excel-gene...ml#post1760658)

    * first thing i need to do is to display all the websites on column B but without the "http://technorati.com/blogs/" prefix.

    * on column C I would like to be able to automatically replace all the "%2F" characters with "/".

    * On column D I would like to remove everything after the main website (i.e. instead of website1.com/subpage1/subpage2... it will just display website1.com)


    so basically i need to have these raw data ..

    http://technorati.com/blogs/open2.net%2Fblogs%2Fmoney
    http://technorati.com/blogs/blogs.mi...oney-questions
    http://technorati.com/blogs/www.pand...ncy-funds.html
    http://technorati.com/blogs/www.cramers-mad-money.com
    http://technorati.com/blogs/blogs.terrapinn.com%2Fcards
    http://technorati.com/blogs/blogs.te...estment%2Ffeed
    ...

    formulated into these results..

    open2.net
    blogs.mirror.co.uk
    www.pandaikaya.com
    www.cramers-mad-money.com
    blogs.terrapinn.com
    blogs.terrapinn.com



    The next thing I need to do is to be able to have a formula that will automatically display all the unique web addresses from the results above onto another column (let's say Column E). That way the results will not display duplicate website names.

    This forum has been invaluable and i hope you all guys can help me out. Many thanks in advance!

    best regards,
    Aaron

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with Formulas (text-to-column, removing duplicates)

    try like this uses helper column
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Help with Formulas (text-to-column, removing duplicates)

    Try this
    In B1
    Please Login or Register  to view this content.
    In C1
    Please Login or Register  to view this content.
    Drag/Fill both Down

    Or you could combine the two
    In B1
    Please Login or Register  to view this content.

    [EDIT]
    Then use Martins' method to remove duplicates

    Hope this helps
    Attached Files Attached Files
    Last edited by Marcol; 03-20-2011 at 12:12 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    03-20-2011
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Help with Formulas (text-to-column, removing duplicates)

    MArtin and Marcol you guys are just awesome! these are exactly what I needed! thank you very much!

  5. #5
    Registered User
    Join Date
    03-26-2014
    Location
    Londres (I like when its said like that!)
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help with Formulas (text-to-column, removing duplicates)

    Wow Martin!! How!?! Why!? How!?!/ Wow

    Thank you.

    Genius. Merry Thank you's! Wow.

+ 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