+ Reply to Thread
Results 1 to 3 of 3

Join cells until adjacent cell value changes

  1. #1
    Registered User
    Join Date
    07-15-2018
    Location
    England
    MS-Off Ver
    15.24 MAC
    Posts
    12

    Join cells until adjacent cell value changes

    Hi everyone,

    I'm looking for some help with the example data set attached. I'm trying to layout the data horizontally based on the adjacent cell being the same and then dropping down a row when the cell changes to the left as opposed to listing it out vertically.

    I don't mind whether the data is split by cell or comma, as long as it's going horizontally rather than vertically down.

    Hopefully the attached makes more sense as I'm not doing a good job at explaining!

    Thanks in advance for any help!
    Craig
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Join cells until adjacent cell value changes

    Using these array formulas in E4 and F4 and filled down should work. To confirm array formulas you must press CTRL+SHIFT+ENTER, not just ENTER.
    E4 (to get distinct list of Item values from list in A3:A11):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    F4 (to get delimited strings of the types linked to the distinct values):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula structures from:
    E4: https://sfmagazine.com/post-entry/ap...with-an-array/
    F4: https://www.ablebits.com/office-addi...istinct-values
    Last edited by Paul; 05-05-2020 at 01:41 PM.

  3. #3
    Registered User
    Join Date
    07-15-2018
    Location
    England
    MS-Off Ver
    15.24 MAC
    Posts
    12

    Re: Join cells until adjacent cell value changes

    thanks so much this is perfect!!

+ 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] Join two text cells by a dash in another cell
    By KLISENCE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2018, 03:26 AM
  2. Copy values from adjacent cells to groups of adjacent cells with gaps
    By Kneigum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2017, 04:50 PM
  3. Replies: 3
    Last Post: 06-15-2017, 05:42 PM
  4. join data of multiple cells(Row) into single cell keeping the formating
    By spa3212 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2016, 03:04 AM
  5. Replies: 1
    Last Post: 10-09-2015, 06:27 PM
  6. Using MCONCAT function to join value from multiple cells into one cell-HELP
    By golfpromal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2012, 08:26 PM
  7. join text from multiple cells to one cell
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2009, 06:28 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