+ Reply to Thread
Results 1 to 4 of 4

Help needed! Automated grouping and re-ordering

  1. #1
    Registered User
    Join Date
    11-10-2016
    Location
    Sydney
    MS-Off Ver
    2010 - 2013
    Posts
    2

    Question Help needed! Automated grouping and re-ordering

    Hi all, any help is appreciated

    Basically I would like to get a large amount records from this format (example) -

    Names Addresses
    AA xxx1
    RR xxx1
    CC xxx1
    DD xxx1
    EE xxx2
    FF xxx2
    GG xxx3
    HH xxx3
    KK xxx3
    JJ xxx4


    To this -


    Name 1 Name 2 Name 3 Name 4 Address
    AA RR CC DD xxx1
    EE FF xxx2
    GG HH KK xxx3
    JJ xxx4


    Essentially grouping individuals by addresses in common and re-ordering the names into columns.

    There could be more than 4 names per addresses in common so more columns would be needed as required.

    I’ve experimented with Pivot tables and the Transpose function but no luck so far. Pivot tables produce something close to what I would like, but I was not able to automate the name reorganization into columns process, and the resulting spreadsheet needs to be in a plain format.

    I've tried to delve into VBA to solve this but I need to learn a lot more before I can make a meaningful attempt at coding a solution to this on my own.

    Thanks in advance!

    Edit - Cross-post: http://www.mrexcel.com/forum/excel-q...-ordering.html
    Last edited by un_RRL; 11-10-2016 at 08:46 PM. Reason: Cross-post link

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Help needed! Automated grouping and re-ordering

    Hi
    If A2:B100 are Name and Address use the following formula and copy down and right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where column E are Address

    See the file
    Attached Files Attached Files

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Help needed! Automated grouping and re-ordering

    crossposted: http://www.mrexcel.com/forum/excel-q...-ordering.html

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-10-2016
    Location
    Sydney
    MS-Off Ver
    2010 - 2013
    Posts
    2

    Re: Help needed! Automated grouping and re-ordering

    @alansidman Apologies, original post edited with cross-post link

+ 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] Grouping Name + Date + Number + Ordering
    By guy13 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-09-2015, 09:12 AM
  2. [SOLVED] Formula needed for sequential ordering given a single search criteria
    By bwmuhich in forum Excel General
    Replies: 1
    Last Post: 04-02-2014, 01:18 AM
  3. [SOLVED] Help needed with addiing point values to a single line and then re-ordering.
    By Ohio Tournaments in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-10-2013, 02:20 AM
  4. Automated Sorting and Grouping VBA
    By Pivo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2013, 04:04 AM
  5. Automated function - urgent help needed
    By monykaram in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2011, 07:22 PM
  6. an automated script needed to generate data
    By ttik in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2009, 05:46 AM
  7. Automated Grouping / Total Query
    By Plusone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2007, 08:58 AM

Tags for this Thread

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