+ Reply to Thread
Results 1 to 4 of 4

Concatanating values from each column with each other

  1. #1
    Forum Contributor
    Join Date
    01-18-2017
    Location
    Poznań, Poland
    MS-Off Ver
    2016
    Posts
    139

    Concatanating values from each column with each other

    Hi everyone,

    I would like to ask you for help with creating a macro that would combine all information in attached file like following:

    There are 10 columns with in each there is one digit (or a dot). I would like to create a macro that would combine all possible comibinations and created a list for me like:

    KMFD...BAK
    KMHD...BAK
    KMJD...BAK
    KMFD...CAK
    KMFD...CAK
    KMHD...CAK
    KMJD...CAK
    ....
    ....
    ....


    so in short to display me a concataned list whre every digit in each column is combined with every single digit from other columns.

    Is that achievable with a macro?

    Thank you in advance for any tips.
    Attached Files Attached Files

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Concatanating values from each column with each other

    First, you must empty range A3:B4, because these cells are duplicates (from A2:B2).
    Then you can run this macro :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Forum Contributor
    Join Date
    01-18-2017
    Location
    Poznań, Poland
    MS-Off Ver
    2016
    Posts
    139

    Re: Concatanating values from each column with each other

    Many, many thanks. Works perfect!

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Concatanating values from each column with each other

    You are welcome, thanks for marking the thread as solved and rep.points given.

    Regards

+ 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: 0
    Last Post: 04-20-2021, 06:59 AM
  2. VBA Code to Paste Values a Table Column Based on Values in Another Column
    By demiwen12 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-20-2020, 05:39 PM
  3. Replies: 4
    Last Post: 12-07-2019, 05:39 AM
  4. Replies: 7
    Last Post: 10-23-2018, 10:18 AM
  5. Transpose values in column to rows, and split cell values to extend column
    By SAMMM in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-03-2015, 12:52 AM
  6. Replies: 2
    Last Post: 12-30-2013, 08:15 AM
  7. Macro that will copy values in Column J and paste values to Column B in new sheet
    By Phixtit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2010, 04:56 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