+ Reply to Thread
Results 1 to 12 of 12

uNIQUE AND SORT with filtered data

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    uNIQUE AND SORT with filtered data

    Hello all

    If I apply a fitler to a column
    Can I use unique sort to return data from another column based on the remaINING values only?

    thanks
    Thanks,

    R.



  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,022

    Re: uNIQUE AND SORT with filtered data

    Please post a sample sheet showing EXACTLY what you want.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: uNIQUE AND SORT with filtered data

    Hi Glenn

    Please find a sample sheet attahced.

    I have filtered column A by a value. But I want to be able to apply a unique sort on column B to return the unique values and sort it, in column column C - but ensure it returns all the values unaffected by me applying a filter in column A.

    Thank you
    Attached Files Attached Files

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

    Re: uNIQUE AND SORT with filtered data

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

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: uNIQUE AND SORT with filtered data

    Hi Fluff13,

    Not really usable for me in my main (real) spreadsheet - is there something more generic/can you break down the logic for me to amend the numbers accordingly?

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

    Re: uNIQUE AND SORT with filtered data

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

  7. #7
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: uNIQUE AND SORT with filtered data

    No sadly no luck.

    I have this range and 150 values:

    =LET(Data,Q222:Q7151,SORT(UNIQUE(FILTER(Data,SUBTOTAL(150,OFFSET(Q1,SEQUENCE(ROWS(Data)),1))))))

    I`m getting a #VALUE error

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

    Re: uNIQUE AND SORT with filtered data

    Change the 150, back to what I posted & change Q1 to Q221.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,022

    Re: uNIQUE AND SORT with filtered data

    Not 100% sure that I follow you, but:

    =IFERROR(INDEX(UNIQUE(SORT(B2:B151)),SUBTOTAL(103,B$2:B2)),"")

    copied down??
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: uNIQUE AND SORT with filtered data

    thank you both, but I think my complexity is all the value's do not display as some rows are hidden (due to the filter in the other column)?

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,022

    Re: uNIQUE AND SORT with filtered data

    No, I think the complexity is that you have not explained clearly what you want.

    However, I want to amend my offering. With NO filters in place:

    =IFERROR(INDEX(UNIQUE(SORT($B$2:$B$151)),SUBTOTAL(103,B$2:B2)),"")

    copied down.

    Now apply your filters.
    Attached Files Attached Files

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

    Re: uNIQUE AND SORT with filtered data

    Here's the formula I suggested. If it doesn't work, then please provide a workbook, that is more realistic of your actual data.
    Attached Files Attached Files

+ 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: 11-23-2020, 12:03 PM
  2. [SOLVED] Populate a Listbox with Unique data of filtered range
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2018, 02:35 AM
  3. [SOLVED] how to extract unique list of names in filtered data
    By XLalbania in forum Excel General
    Replies: 15
    Last Post: 12-18-2016, 09:30 AM
  4. sort filtered data on multiple sheets
    By powdow in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2013, 05:13 PM
  5. sum unique entries on filtered data?
    By verilath in forum Excel General
    Replies: 7
    Last Post: 12-23-2009, 01:36 PM
  6. Replies: 1
    Last Post: 07-28-2006, 11:10 AM
  7. counting unique numbers in filtered data
    By deb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-22-2005, 05:05 PM

Tags for this Thread

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