+ Reply to Thread
Results 1 to 2 of 2

How to combine 2 columns into 1 column and remove the duplicate?

  1. #1
    Registered User
    Join Date
    03-06-2015
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    9

    How to combine 2 columns into 1 column and remove the duplicate?

    Need experts help..

    I am trying to remove the duplicates from 3 different columns and combine the unique values into one column by using an Excel formula..

    Test.JPG


    (Order is not important)

    Thanks much!!

  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: How to combine 2 columns into 1 column and remove the duplicate?

    A
    B
    C
    D
    E
    1
    A B C Result
    2
    1
    2
    2
    1
    3
    5
    5
    7
    2
    4
    8
    8
    8
    4
    5
    9
    4
    9
    5
    6
    7
    6
    6
    7
    10
    7
    8
    8
    9
    9
    10
    10
    11
    ---End---
    12
    13
    14


    E
    1
    Result
    2
    =IF(COUNTIF($E$1:E1,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E1))+1),"---End---"))
    3
    =IF(COUNTIF($E$1:E2,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E2))+1),"---End---"))
    4
    =IF(COUNTIF($E$1:E3,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E3))+1),"---End---"))
    5
    =IF(COUNTIF($E$1:E4,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E4))+1),"---End---"))
    6
    =IF(COUNTIF($E$1:E5,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E5))+1),"---End---"))
    7
    =IF(COUNTIF($E$1:E6,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E6))+1),"---End---"))
    8
    =IF(COUNTIF($E$1:E7,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E7))+1),"---End---"))
    9
    =IF(COUNTIF($E$1:E8,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E8))+1),"---End---"))
    10
    =IF(COUNTIF($E$1:E9,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E9))+1),"---End---"))
    11
    =IF(COUNTIF($E$1:E10,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E10))+1),"---End---"))
    12
    =IF(COUNTIF($E$1:E11,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E11))+1),"---End---"))
    13
    =IF(COUNTIF($E$1:E12,"---End---"),"",IFERROR(SMALL($A$2:$C$7,COUNTIF($A$2:$C$7,"<="&IF(ROW()=2,0,E12))+1),"---End---"))


    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

+ 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. Remove Duplicate Material and combine quntities
    By spool25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2014, 11:37 AM
  2. Replies: 2
    Last Post: 01-13-2014, 10:52 AM
  3. combine & remove duplicate part number
    By integra in forum Excel General
    Replies: 1
    Last Post: 08-19-2013, 06:08 PM
  4. MAcro to - copy, transpose, text to columns, remove column A, combine all columns in 1
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2013, 08:48 AM
  5. excel macro to remove specific columns and rows + remove duplicate
    By garrywelson in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-17-2013, 12:03 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