+ Reply to Thread
Results 1 to 8 of 8

Return Sorted Unique Values From 2 Columns Using Functions

  1. #1
    Registered User
    Join Date
    01-12-2022
    Location
    Brno, Czech Republic
    MS-Off Ver
    365
    Posts
    44

    Return Sorted Unique Values From 2 Columns Using Functions

    Hi,

    I think the title and the attached workbook are self-explanatory.

    Thanks a lot for help

    Tomas
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,168

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    Try:
    =SORT(UNIQUE(IFERROR(INDEX(Table1[Product],SEQUENCE(ROWS(Table1[Product])+ROWS($D$4:$D$11))),INDEX($D$4:$D$11,SEQUENCE(ROWS(Table1[Product])+ROWS($D$4:$D$11))-ROWS(Table1[Product])))))

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,168

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    Another option:

    =SORT(UNIQUE(LET(w,CHOOSE({1,2},Table1[Product],$D$4:$D$11),x,COLUMNS(w),y,COUNTA(w),z,IFERROR(INDEX(w,1+MOD(SEQUENCE(x*y,,0),y),1+INT(SEQUENCE(x*y,,0)/y)),""),FILTER(z,z<>""))))

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,708

    Re: Return Sorted Unique Values From 2 Columns Using Functions

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

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,966

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    Is E supposed to be before D? If not, and if you are on Insider Beta with the new functions:

    =SORT(UNIQUE(TOCOL((Table1[Product],D4:D11))))

    Everyone who confuses correlation and causation ends up dead.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    There are two conflicts here. The description is different from the requirements for painting in yellow. It is only done according to the H4:H8 provided by the OP? The description is not considered.

    Cell H4 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 04-25-2022 at 09:39 AM.

  7. #7
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,168

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    @rorya - Now you're just showing off
    Can't wait to get those new formulas

  8. #8
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,966

    Re: Return Sorted Unique Values From 2 Columns Using Functions

    Quote Originally Posted by Gregb11 View Post
    @rorya - Now you're just showing off
    Can't wait to get those new formulas
    If it makes you feel better, I still have to use 2016 at work, which is very frustrating...

+ 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: 8
    Last Post: 03-08-2022, 11:56 AM
  2. Return Multiple Text Reslts Sorted Based Unique Values in another Column
    By Fin Fang Foom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-10-2015, 12:01 AM
  3. [SOLVED] Fill combobox with unique and sorted values (for two columns)
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2015, 07:16 AM
  4. [SOLVED] A list using 3 columns sorted alphabetically using functions
    By fjyoder in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2015, 12:01 PM
  5. [SOLVED] Get unique values sorted
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-01-2015, 08:40 AM
  6. [SOLVED] Summerize unique values from multiple columns / Sorted alphabetically
    By Lacaycer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-01-2014, 02:40 PM
  7. Look across values in 12 columns, return the number of unique values
    By NukedWhale in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-21-2009, 05:18 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