+ Reply to Thread
Results 1 to 5 of 5

Concatenate with Double Info in Concatenate Cell

  1. #1
    Registered User
    Join Date
    07-10-2015
    Location
    Louisiana
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    2

    Concatenate with Double Info in Concatenate Cell

    I am trying to combine 2 columns of cells into 1 column of cells. Some of the cells in the 2 columns have blanks and some have duplicate contractor names. I want to remove the duplicate names when combining the 2 cells.
    If the new column of cells has duplicates down the column that is ok, infact I don't want to eliminate the duplicates down the cell so contract ACME can appear hundreds of times and that is ok, just don't want the new column of cells to have ACMEACME in any of the cells.
    Thanks!
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Concatenate with Double Info in Concatenate Cell

    =a1& if(b1=a1,"",b1)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Concatenate with Double Info in Concatenate Cell

    This fits your example

    =if(a2<>"",a2,b2)

    BUT can you have "John" (a2) and "Smith" (b2)?


    =IF(A2<>"",IF(A2=B2,A2,A2&B2),B2)

  4. #4
    Registered User
    Join Date
    07-10-2015
    Location
    Louisiana
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    2

    Re: Concatenate with Double Info in Concatenate Cell

    Awesome! Thank you!

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Concatenate with Double Info in Concatenate Cell

    @chemist ..like it .. much neater than mine!

    Plus a damn fool question I asked ! Why else would you concatenate ??!!!
    Last edited by JohnTopley; 07-10-2015 at 02:23 PM.

+ 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. Get Info from cells using if, index, small and concatenate
    By kinfirerain in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2015, 11:52 AM
  2. Removing double-ups from Concatenate User defined function (UDF)
    By Spicey_888 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2015, 04:57 AM
  3. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  4. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  5. [SOLVED] Concatenate columns, separated by double quotes
    By Felicia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2005, 03:06 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