+ Reply to Thread
Results 1 to 6 of 6

how to arrange/sort any data value which is linked each other.

  1. #1
    Registered User
    Join Date
    11-12-2018
    Location
    Lahore
    MS-Off Ver
    2007
    Posts
    12

    how to arrange/sort any data value which is linked each other.

    i need to arrange some data which is linked to each other like relatives of a family working in any organization. Experts can guide in this matter will be highly appreciated.

    e.g. Riaz Khan has 2 brothers( Sheraz Khan & Asif Khan all have mentioned each other in the system), i need to group/arrange side by side or sort in a single row or as given below presentation.

    Original:

    Emp.ID
    3329
    9988
    9778
    3329
    8515
    9988
    8515
    Name
    Riaz Khan
    Asif Khan
    Amir Nawaz
    Riaz Khan
    Sheraz Khan
    Asif Khan
    Sheraz Khan
    Relation
    Brother
    Brother
    Father
    Brother
    Brother
    Brother
    Brother
    Rel. EmpID
    9988
    8515
    1677
    8515
    9988
    3329
    3329
    Rel Name
    Asif Khan
    Sheraz Khan
    Gul R.
    Sheraz Khan
    Asif Khan
    Riaz Khan
    Riaz Khan

    The required output:

    Emp.ID
    3329
    3329
    8515
    8515
    9988
    9988
    9778
    Name
    Riaz Khan
    Riaz Khan
    Sheraz Khan
    Sheraz Khan
    Asif Khan
    Asif Khan
    Amir Nawaz
    Relation
    Brother
    Brother
    Brother
    Brother
    Brother
    Brother
    Father
    Rel. EmpID
    8515
    9988
    3329
    9988
    3329
    8515
    1677
    Rel Name
    Sheraz Khan
    Asif Khan
    Riaz Khan
    Asif Khan
    Riaz Khan
    Sheraz Khan
    Gul R.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: how to arrange/sort any data value which is linked each other.

    See yellow banner on how to attach a sample file including expected results.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: how to arrange/sort any data value which is linked each other.

    Simply sort by Name and Relation ??
    Attached Files Attached Files
    Last edited by JohnTopley; 02-11-2022 at 09:06 AM.

  4. #4
    Registered User
    Join Date
    11-12-2018
    Location
    Lahore
    MS-Off Ver
    2007
    Posts
    12

    Re: how to arrange/sort any data value which is linked each other.

    Quote Originally Posted by JohnTopley View Post
    Simply sort by Name and Relation ??
    thanks sir, actually boss asked from us to identify the employees who have and who have not Revealed their relatives disclosures in the organization.
    so just have to find links in the Employees IDs who have some relation among them. so if sorting is fulfilling the purpose or any better tips you have, then appreciable.

  5. #5
    Registered User
    Join Date
    11-12-2018
    Location
    Lahore
    MS-Off Ver
    2007
    Posts
    12

    Re: how to arrange/sort any data value which is linked each other.

    any one please

  6. #6
    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,830

    Re: how to arrange/sort any data value which is linked each other.

    Unclear. There is nobody in the sample data who does NOT have a relative listed, is there? And the sample result table is no different.

    Your sample workbook needs to clearly illustrate what you are trying to achieve - this one does not do that.

    Are you still using Excel 2007?
    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.

+ 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: 2
    Last Post: 05-21-2021, 07:43 PM
  2. [SOLVED] How to data sort two linked sheets?
    By kellyfirth in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2015, 10:42 AM
  3. [SOLVED] Auto Arrange / sort data
    By sarahqputra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2014, 02:24 PM
  4. Replies: 7
    Last Post: 06-21-2012, 06:45 AM
  5. How do I sort linked data by name in a Spreadsheet?
    By tedkriwiel in forum Excel General
    Replies: 0
    Last Post: 03-08-2012, 12:37 PM
  6. Sort but keep linked data in place
    By MAMc in forum Excel General
    Replies: 2
    Last Post: 11-02-2011, 03:02 PM
  7. sort 2 or more rows of cells linked to one row of data
    By Barb Reinhardt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07: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