+ Reply to Thread
Results 1 to 2 of 2

Concatination of data organised vertical data and differing amounts

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Concatination of data organised vertical data and differing amounts

    Hi,

    I wish to concatenate data from column B into one cell from data in rows of varying numbers based on the number in column B.

    For example 101 has apple, orange and banana in cells B2,B3 & B4. But I want this in one cell next to 101.

    This is an example of a spreadsheet that has 100s of numbers in column a with a differing number of data rows. in the example 101 has 3 rows of data but 102 only 2


    Input

    Number Fruit
    101 Apple
    101 Orange
    101 Bannana
    102 Bannana
    102 Kiwi
    103 Bannana
    103 Strawberry
    103 Melon
    103 Cherry
    103 Kiwi
    104 Bannana
    104 Kiwi

    Output

    Number Fruit
    101 Apple,Orange,Bannana
    102 Bannana,Kiwi
    103 Bannana,Strawberry,Melon,Cherry,Kiwi
    104 Bannana,Kiwi
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Concatination of data organised vertical data and differing amounts

    Hi batchjb69,

    Try the below code …

    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

+ 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. unorganised data organised to 2nd sheet
    By AaruJaan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2017, 07:36 AM
  2. complex data into organised table?
    By marquee.moon in forum Excel General
    Replies: 4
    Last Post: 09-15-2015, 08:13 AM
  3. Replies: 9
    Last Post: 05-28-2014, 03:27 AM
  4. Graph from otherwise organised data
    By pleasehelpplease in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-30-2013, 12:38 PM
  5. Replies: 8
    Last Post: 10-10-2012, 10:40 AM
  6. Replies: 2
    Last Post: 02-06-2012, 08:21 PM
  7. Conditional concatenation problem for badly organised data
    By XL4NEthing in forum Excel General
    Replies: 2
    Last Post: 02-02-2012, 12:25 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