+ Reply to Thread
Results 1 to 5 of 5

Removing duplicates based on text description

  1. #1
    Registered User
    Join Date
    09-02-2015
    Location
    Wellington NZ
    MS-Off Ver
    2010
    Posts
    2

    Removing duplicates based on text description

    Hi folks

    I have a price list of over 8000 products that I need to consolidate into a list of brands only. For instance I have over 300 different product lines from a brewery called Panhead that I only need to appear once.

    Is there anyway to remove/eliminate a cell based on the first 8 letters/digits of a description?

    Please let me know if I am not making myself clear.

    Cheers

    thesherriff

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Removing duplicates based on text description

    Hi, welcome to the forum.

    First, put in a helper column. I'm going to assume that your data is in column A, starting in A2 (with a header in A1). Put this in row 2 of your new column and drag it down as far as you need:
    =LEFT(A2,8)
    This will truncate the product lines to the first 8 characters.

    The next step will permanently delete data, so I strongly suggest copying the sheet and trying it on the copy first, just in case.

    Select all your data, then click the Data tab and click 'Remove Duplicates'. Click 'my data has headers' if it has. Select the helper column (with the 8-character-long names) - deselect everything else. Click OK.
    Now you can remove the helper column.

    Hope that helps.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  3. #3
    Registered User
    Join Date
    09-02-2015
    Location
    Wellington NZ
    MS-Off Ver
    2010
    Posts
    2

    Re: Removing duplicates based on text description

    Cheers bro. Seemed to have done the trick.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Removing duplicates based on text description

    Glad I could help.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  5. #5
    Forum Contributor
    Join Date
    08-13-2009
    Location
    Caribbean
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Removing duplicates based on text description

    another way to do this is on the ribbon. i think it may be on the data tab. simply select the data range, click the button "remove duplicates" and select the column a very snazzy trick

+ 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. Removing duplicates from an array based on value.
    By matt85webb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2015, 02:36 AM
  2. Removing duplicates based on several columns
    By Crackerdaq in forum Excel General
    Replies: 6
    Last Post: 08-13-2013, 10:33 AM
  3. Removing Duplicates by copying some text
    By nccool in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2013, 06:22 AM
  4. Replies: 4
    Last Post: 09-05-2011, 01:06 AM
  5. getting text from a cell and removing duplicates
    By darkjedi in forum Excel General
    Replies: 6
    Last Post: 12-12-2007, 09:14 AM
  6. Removing rows based on duplicates?
    By spyrule in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2007, 03:20 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