+ Reply to Thread
Results 1 to 4 of 4

Concatenate if already exist in Columns...

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    Puerto Rico
    MS-Off Ver
    Excel 2003
    Posts
    2

    Concatenate if already exist in Columns...

    I will like to add a letter "B" if there is already one. Let me explain in column A there is a list of companies I will like that in column C check for the whole column and if there is that company again then add the letter B at the end if not just paste the name of the company.column.PNG

    I used =IF(A2=A:A,CONCATENATE(A2,"b")) but with this always put the "b" and I only want it if there is the company more than one.
    Attached Files Attached Files

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Concatenate if already exist in Columns...

    Hello edvavi, and welcome to the forum.

    Try:

    =A2&IF(COUNTIF(A$2:A2,A2)>1,"b","")

  3. #3
    Registered User
    Join Date
    07-13-2012
    Location
    Puerto Rico
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Concatenate if already exist in Columns...

    Thanks for your quick and excellent response. That work for me.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Concatenate if already exist in Columns...

    Glad to hear it. You're quite welcome. Please remember to mark your thread as SOLVED.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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