+ Reply to Thread
Results 1 to 5 of 5

Removing duplicates from column A while keeping their respective values from column B

  1. #1
    Registered User
    Join Date
    02-05-2016
    Location
    Kigali
    MS-Off Ver
    excel 2007
    Posts
    21

    Removing duplicates from column A while keeping their respective values from column B

    Hi guys,

    In the workbook that I have uploaded, you'll see that I have two columns (A,B) of raw data.
    I want to remove duplicate data from column A to column D while keeping at the same time their related values from column B to column E.
    I used an array formula in column D but I can't use the same formula in column E because it will not consider the relation between values from column A and B to column D and E.
    What better formula can I use in order to remove duplicates from column A while keeping their respective values from column B?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,803

    Re: Removing duplicates from column A while keeping their respective values from column B

    Perhaps just this?
    =INDEX($B$4:$B$15,MATCH(D4,$A$4:$A$15,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-05-2016
    Location
    Kigali
    MS-Off Ver
    excel 2007
    Posts
    21

    Re: Removing duplicates from column A while keeping their respective values from column B

    Works perfectly,

    I'm not used to arrays, thanks a lot.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,803

    Re: Removing duplicates from column A while keeping their respective values from column B

    Happy to help
    (That is just a regular formula, not an array formula )

  5. #5
    Registered User
    Join Date
    02-05-2016
    Location
    Kigali
    MS-Off Ver
    excel 2007
    Posts
    21

    Re: Removing duplicates from column A while keeping their respective values from column B

    oops, my bad

+ 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. Replies: 11
    Last Post: 02-05-2015, 07:13 PM
  2. Sorting based on one column values and removing duplicates!
    By devpp in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-26-2013, 09:41 AM
  3. [SOLVED] Find duplicates in column A, add values from column B (possibly delete duplicates)
    By luarwhite in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2013, 04:34 PM
  4. Replies: 3
    Last Post: 05-02-2013, 09:31 PM
  5. [SOLVED] Removing Duplicates based on column values and criteria
    By viduran88 in forum Excel General
    Replies: 9
    Last Post: 04-04-2013, 11:37 AM
  6. Replies: 1
    Last Post: 08-29-2010, 12:06 PM
  7. Replies: 4
    Last Post: 03-22-2006, 10:50 AM

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