+ Reply to Thread
Results 1 to 9 of 9

365 How to use a a formula deduplication to sort from big to small

  1. #1
    Forum Contributor
    Join Date
    08-25-2020
    Location
    Taiwan
    MS-Off Ver
    MS 365+win 10(64bit)
    Posts
    185

    365 How to use a a formula deduplication to sort from big to small

    The source area is in column A and column B

    Form a horizontal de-duplication and arrange the amount from large to large

    Any help would be appreciated!
    Attached Files Attached Files
    Last edited by metrostar; 08-28-2022 at 08:35 PM.

  2. #2
    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
    81,091

    Re: 365 How to use a a formula deduplication to sort from big to small

    In E2:

    =UNIQUE(A2:A12)

    In F2 copied down:

    =TRANSPOSE(SORT(UNIQUE(FILTER(B2:B12,A2:A12=E2)),,-1))
    Attached Files Attached Files
    Last edited by AliGW; 08-28-2022 at 06:29 AM. Reason: Added example workbook.
    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.

  3. #3
    Forum Contributor
    Join Date
    08-25-2020
    Location
    Taiwan
    MS-Off Ver
    MS 365+win 10(64bit)
    Posts
    185

    Re: 365 How to use a a formula deduplication to sort from big to small

    Thanks AliGW you're awesome Can this be done with the LET function?

  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
    81,091

    Re: 365 How to use a a formula deduplication to sort from big to small

    What do you mean? What is wrong with the formulae I gave you?

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,462

    Re: 365 How to use a a formula deduplication to sort from big to small

    Try
    First clear the E1:J6 area, then Cell E1 place this formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  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
    81,091

    Re: 365 How to use a a formula deduplication to sort from big to small

    Nice one!

    If you don't want the header row, try this:

    =DROP(REDUCE(IF(C1:D1=0,""),UNIQUE(A2:A12),LAMBDA(x,y,IFERROR(VSTACK(x,HSTACK(y,TRANSPOSE(SORT(UNIQUE(FILTER(B2:B12,A2:A12=y)),,-1)))),""))),1)

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,462

    Re: 365 How to use a a formula deduplication to sort from big to small

    No title

    Cell E2 formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    08-25-2020
    Location
    Taiwan
    MS-Off Ver
    MS 365+win 10(64bit)
    Posts
    185

    Re: 365 How to use a a formula deduplication to sort from big to small

    The formula both provided is amazing. The problem is solved

  9. #9
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,462

    Re: 365 How to use a a formula deduplication to sort from big to small

    @metrostar You're Welcome. Glad to help . Thank You for the feedback and rep.

+ 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] The maximum value of deduplication corresponds to the value of SCORE
    By metrostar in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-12-2022, 10:48 AM
  2. [SOLVED] Summarize and sort VBA code based on deduplication greater than a certain condition
    By Sakurayuki in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-09-2022, 10:29 AM
  3. [SOLVED] Deduplication and sorting problem
    By choletseng in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-28-2021, 11:10 AM
  4. Unique DeDuplication
    By SmokinJoe7690 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-14-2021, 01:01 PM
  5. [SOLVED] Using incremental "SMALL" formula to sort column?
    By Aviatorer in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-22-2019, 07:25 AM
  6. [SOLVED] Sort small data
    By namluke in forum Excel General
    Replies: 4
    Last Post: 06-17-2014, 09:43 AM
  7. deduplication of cells in a column
    By tiffperdue in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-09-2014, 03:26 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