+ Reply to Thread
Results 1 to 6 of 6

Re: Request for Guidance about sorting the data

  1. #1
    Registered User
    Join Date
    04-30-2018
    Location
    Italy
    MS-Off Ver
    2013
    Posts
    3

    Re: Request for Guidance about sorting the data

    Dear Friends,
    I hope this message finds you with the best of health and spirit. I am facing a problem with sorting the data. In column 1, I have the names of countries and in column 2 the labels according to countries' names. Column 4 to 8 represents the data sets. But I want to keep the only names of countries+their labels+data, which are unique with column 3. I want to delete all those variable which are not unique with columns 3. Kindly see the attached file and guide me that how can only keep them according to column 2 and column 3 data.

    Help for Sorting.png
    Attached Files Attached Files
    Last edited by Hazratgi; 05-17-2021 at 09:15 AM.

  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,509

    Re: Request for Guidance about sorting the data

    Answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.

  3. #3
    Registered User
    Join Date
    04-30-2018
    Location
    Italy
    MS-Off Ver
    2013
    Posts
    3

    Re: Request for Guidance about sorting the data

    Thanks for the guidance.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,734

    Re: Request for Guidance about sorting the data

    This proposal employs a helper column (I) which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =MATCH(B2,C$2:C$14,0)
    The formula that produces the output in K2:Q14 is: =IFERROR(INDEX($A$2:$H$14,AGGREGATE(15,6,(ROW($A$2:$H$14)-ROW($A$1))/($I$2:$I$14>=1),ROWS($A$1:$A1)),MATCH(K$1,$A$1:$H$1,0)),"")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    04-30-2018
    Location
    Italy
    MS-Off Ver
    2013
    Posts
    3

    Thumbs up Re: Request for Guidance about sorting the data

    Quote Originally Posted by JeteMc View Post
    This proposal employs a helper column (I) which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =MATCH(B2,C$2:C$14,0)
    The formula that produces the output in K2:Q14 is: =IFERROR(INDEX($A$2:$H$14,AGGREGATE(15,6,(ROW($A$2:$H$14)-ROW($A$1))/($I$2:$I$14>=1),ROWS($A$1:$A1)),MATCH(K$1,$A$1:$H$1,0)),"")
    Let us know if you have any questions.
    Dear JeteMc,
    Many thanks for your excellent guidance and support.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,734

    Re: Request for Guidance about sorting the data

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. Request for combo box sorting by Descending order
    By compro99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2021, 09:26 AM
  2. Excel VBA - Request Guidance on Macros - Rows to move based on the Cell Value
    By Madhusoodan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2020, 02:24 AM
  3. [SOLVED] help request in sorting
    By rmensel in forum Excel General
    Replies: 6
    Last Post: 04-20-2018, 05:25 AM
  4. KPI Framework Development Guidance Request
    By SeafreightDiscounter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2015, 09:50 AM
  5. [SOLVED] Delete Rows without a certain column text plus further sorting guidance
    By msmith7113 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2015, 04:29 PM
  6. [SOLVED] Guidance request
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2014, 12:10 PM
  7. Request code help, sorting array in memory
    By KR in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2005, 03:45 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