+ Reply to Thread
Results 1 to 5 of 5

Finding duplicates and adding data from adjacent column

  1. #1
    Registered User
    Join Date
    06-13-2014
    Posts
    7

    Finding duplicates and adding data from adjacent column

    I have four columns ABC&D A is where I want the formula, B is a list of 30 names, C is a list of 1000 ID numbers and D is a list of the corresponding 1000 names. Is there a formula I can put in column A that copies the ID number from C that corresponds with the name in column D that is a duplicate of the name in column B?

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Finding duplicates and adding data from adjacent column

    Move Column C to Column E. Then use the following equation and copy down:

    =vlookup(B1,$D$1:$E$1000,2,false)

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding duplicates and adding data from adjacent column

    One way...

    With your data starting on row 2.

    Enter this formula in A2 and copy down as needed:

    =INDEX(C:C,MATCH(B2,D:D,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    06-13-2014
    Posts
    7

    Re: Finding duplicates and adding data from adjacent column

    Thank you guys both of those formulas worked perfectly!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding duplicates and adding data from adjacent column

    You're welcome. We appreciate the feedback!

+ 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. Finding duplicates and adding their adjacent cells
    By trier in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-17-2014, 02:58 AM
  2. Finding sum of 1st set of adjacent data in a column.
    By DHuskic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 08:59 AM
  3. [SOLVED] Finding the row of a combo box selection to input data into an adjacent column
    By tb13 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2012, 11:06 AM
  4. How to add ascending numbers after finding last row of data in adjacent column
    By Emmaly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2012, 10:25 AM
  5. Finding Duplicates adding them to another sheet
    By sentinela in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2009, 07:40 AM

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