+ Reply to Thread
Results 1 to 5 of 5

Delete dublicates for each row from several columns

Hybrid View

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    Sofia,Bulgaria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Delete dublicates for each row from several columns

    I made the the fowolling list in order to explain what i need too do:

    1st pet 2nd pet 3rd pet 4th pet
    dog cat dog
    cat bunny
    bunny bunny cat dog
    fish dog


    I want to remove duplicated pets in each row. For each row where there is a repeating pet,I have to remove it (dog in the first row third column and bunny 3-rd row ,secod column.)
    The real list is with 800 rows and 15 columns.
    Can you please advise me how to do it
    Last edited by sunn1ly; 05-21-2013 at 03:34 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Delete dublicates for each row from several columns

    Please show it in excel by showing the expected output for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    05-21-2013
    Location
    Sofia,Bulgaria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Delete dublicates for each row from several columns

    Hi I am applying the same example in excel- first sheet is the inital list,
    on the 2nd sheet you can see what i want to have as result
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Delete dublicates for each row from several columns

    write formula at start solution (top left corner) ie in this sample B11
    (formula array)
    {=IFERROR(INDEX($B2:$E2,MATCH(,COUNTIF($A11:A11,$B2:$E2),0)),"")}
    copy right and down.

    to hide zero value use format number custom type:0;-0;;@
    see this attached.

  5. #5
    Registered User
    Join Date
    05-21-2013
    Location
    Sofia,Bulgaria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Delete dublicates for each row from several columns

    Thanks a lot. It works perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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