+ Reply to Thread
Results 1 to 5 of 5

sorting multiple columns maintaining row relationships

  1. #1
    Registered User
    Join Date
    05-23-2020
    Location
    USA
    MS-Off Ver
    2010 Microsoft Office
    Posts
    39

    sorting multiple columns maintaining row relationships

    Hi
    This is obviously a beginner's question but I can't find the answer - probably because I am not phrasing the question correctly.

    I have an Excel file (Office 2007) created from a txt file (which originally came from another Excel file).

    In the past when I sorted a column, the other columns maintained their relationships to the sorted column. But now, when I sort on a certain column that column get sorted but the others remain unchanged so that the relationship between the columns is destroyed. I obviously do not want this kind of sort but I do not know what I did to make Excel sort differently.

    How can I sort the contents in a column while maintaining the row relationship with the data in the other columns?

    Thank you.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: sorting multiple columns maintaining row relationships

    2 options:

    Make a table of your data => insert => table.

    After that sort the data



    Second option.

    Select all data. After that make the sort. Then the relationship will change, according to the sort you choose.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-23-2020
    Location
    USA
    MS-Off Ver
    2010 Microsoft Office
    Posts
    39

    Re: sorting multiple columns maintaining row relationships

    Wow! That was quick!

    Thank you.

    I will look for the solved button. (I'm new at this).

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,495

    Re: sorting multiple columns maintaining row relationships

    Please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    05-23-2020
    Location
    USA
    MS-Off Ver
    2010 Microsoft Office
    Posts
    39

    Re: sorting multiple columns maintaining row relationships

    Thanks Ali. I figured it out and did it.

+ 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] Maintaining Column Relationships During Sorting
    By Jaslr83 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-05-2016, 12:49 PM
  2. Sorting while maintaing relationships
    By jlackey4740 in forum Excel General
    Replies: 13
    Last Post: 01-30-2015, 06:35 PM
  3. [SOLVED] Macros to transpose from multiple columns to selected columns and maintaining cell format
    By rrajnish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2013, 01:45 PM
  4. Sorting while maintaining subtotals
    By embf21 in forum Excel General
    Replies: 1
    Last Post: 05-07-2013, 05:11 PM
  5. transposing multiple rows while maintaining columns
    By tealdaylight in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-30-2013, 01:29 PM
  6. Maintaining Links across worksheets when sorting
    By theduders in forum Excel General
    Replies: 0
    Last Post: 09-15-2010, 01:58 PM
  7. Sorting while preserving relationships in rows
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2010, 01:30 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