+ Reply to Thread
Results 1 to 6 of 6

Concatenate cell values for duplicate numbers

Hybrid View

  1. #1
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Concatenate cell values for duplicate numbers

    Here is a formula solution using several helper columns:
    Enter in C2 and fill down and across to column E
    Formula: copy to clipboard
    =IF(COUNTIF($A$2:$A2,$A2)=COUNTIF($A$2:$A$19,$A2),"",B3)

    Enter in F2 and fill down
    Formula: copy to clipboard
    =IF(C2="","",A2)

    Enter in G2 and fill down to enter a , between the values concatenated.
    Formula: copy to clipboard
    =SUBSTITUTE(TRIM(IF(C2="","",B2&" "&C2&" "&D2&" "&E2))," ",", ")

    Enter in I2 and fill across and down to get the unique P/N values with the associated H-D#s
    Formula: copy to clipboard
    =IFERROR(INDEX(F$2:F$19,MATCH(1,INDEX((COUNTIF($I$1:I1,$F$2:$F$19)=0)*($F$2:$F$19<>""),0),0)),"")
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. [SOLVED] Need to find if duplicate values exist in a column, concatenate cells and then delete
    By Siemieniuk in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-22-2017, 07:22 PM
  2. [SOLVED] Finding Row numbers of all duplicate values
    By Dj Duck in forum Excel General
    Replies: 6
    Last Post: 10-03-2015, 07:18 AM
  3. [SOLVED] concatenate text values for duplicate entries
    By SAsplin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-21-2015, 10:44 AM
  4. Replies: 20
    Last Post: 11-27-2014, 02:37 AM
  5. [SOLVED] Find if duplicate values exist in a column, concatenate cells and then de
    By filky in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2014, 10:14 PM
  6. Replies: 7
    Last Post: 12-07-2013, 02:33 PM
  7. Getting rid of duplicate values in a cell after using concatenate
    By outofgum in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-28-2011, 11:53 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