+ Reply to Thread
Results 1 to 6 of 6

Merge random cells in a column in sequenced order in another column

  1. #1
    Registered User
    Join Date
    10-07-2018
    Location
    Wichita Falls, TX
    MS-Off Ver
    365
    Posts
    10

    Merge random cells in a column in sequenced order in another column

    I am trying to take a list of names (stable) with designations (changing) to end up in other columns with the designation title but want them to end up in consecutive order. I have made it to where they will end up in a column but separated. I want to bring them together in another column. I will attach an example of what I am looking for help with. Thank you in advance.
    Attached Files Attached Files
    Last edited by Chris1972; 10-10-2018 at 11:16 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Is there a way to merge random cells in a column in sequenced order in another column.

    In H3 array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy right/down
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.


    If you want to understand better how it works start from innermost:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    as you copy it down it gives row numbers for non-empty cells from column C. After four rows numbers it returns errors, because there is no more data. This errors are at final stage served by outermost function - IFERROR
    In the middle, there is an index function which returns data from given rows.
    Best Regards,

    Kaper

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Is there a way to merge random cells in a column in sequenced order in another column.

    PS. If you do not want your helper columns - slight modification is enough and in C3 you may use array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy it right/down

    If you like it, I'd appreciate marking thread solved and clicking below my post on a star (add reputation) and confirming positive reputation in a pop-up window.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-07-2018
    Location
    Wichita Falls, TX
    MS-Off Ver
    365
    Posts
    10

    Re: Is there a way to merge random cells in a column in sequenced order in another column.

    Kaper,
    Thank you so much the last post is exactly what I was wanting it to do. Now for me to learn how it works so I can apply it to my actual sheet. If I have any more questions I will ask. Thank you again.

  5. #5
    Registered User
    Join Date
    10-07-2018
    Location
    Wichita Falls, TX
    MS-Off Ver
    365
    Posts
    10

    Re: Is there a way to merge random cells in a column in sequenced order in another column.

    Kaper,
    Ok broke it down and figured out what everything does and applied it all to my workbook that I am working on. Works like a dream. So much easier having a formula and breaking it down to figure out what everything does. I can't imagine writing one from scratch as of yet. This is one of my first times using excel other than simple tasks of thing like addition and making info from one cell mirror another. I have learned so much from these two posts that you have answered. One thing is I didn't know what the "$" sign was for. Anyway thanks again.

    Chris

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Merge random cells in a column in sequenced order in another column

    Wow, $ is always important :-)

    But honestly: You shall read about different modes of addressing in excel: absolute, relative and mixed. (involves both $, no $ or one $ sign)
    Sample reading: https://www.excel-easy.com/functions...eferences.html

+ 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: 6
    Last Post: 08-07-2018, 09:25 AM
  2. Merge cells in a column, using a column as a reference to merge them
    By mattybNSI126 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-20-2018, 06:05 PM
  3. Formula to sum two separate transaction types (random order) from one column
    By leerosario in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2016, 05:03 PM
  4. [SOLVED] To find the cells in column A not existing in column C and display them in rank order
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-16-2015, 06:54 AM
  5. Replies: 6
    Last Post: 12-14-2012, 04:04 PM
  6. Replies: 2
    Last Post: 12-12-2012, 08:57 PM
  7. [SOLVED] random order in a set of words in 1 column
    By Beckbeck in forum Excel General
    Replies: 3
    Last Post: 05-27-2005, 01:05 AM

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