+ Reply to Thread
Results 1 to 9 of 9

How to sort a filtered array from another sheet?

  1. #1
    Registered User
    Join Date
    03-08-2022
    Location
    Washington, USA
    MS-Off Ver
    2016
    Posts
    4

    Question How to sort a filtered array from another sheet?

    Scenario:
    Sheet1 = Parent sheet
    Sheet2 = Child sheet generated from filtering Sheet1 using =FILTER(IF(FINAL!A2:AC2000="","",FINAL!A2:AC2000),FINAL!P2:P2000>=62)

    This works fine, however I have no way to sort this autogenerated Sheet2. I get the error "You can't change part of an array"

    GOAL:
    I want to sort the output of Sheet2 by the ages in column P while mainting the auto-updates that Sheet2 gets when making changes to Sheet1. If you know how I can modify =FILTER(IF(FINAL!A2:AC2000="","",FINAL!A2:AC2000),FINAL!P2:P2000>=62) to get that to work I'd really appreciate it.

    Thank you for the help!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: How to sort a filtered array from another sheet?

    One way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-08-2022
    Location
    Washington, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: How to sort a filtered array from another sheet?

    I appreciate the help, but that doesn't seem to work. I'm getting rows where that value in P that needs to be >=62 that are way LESS than 62...

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: How to sort a filtered array from another sheet?

    You have the advantage of me in that you have a workbook with data and I just made something up.

  5. #5
    Registered User
    Join Date
    03-08-2022
    Location
    Washington, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: How to sort a filtered array from another sheet?

    Quote Originally Posted by TMS View Post
    You have the advantage of me in that you have a workbook with data and I just made something up.
    My original equation doesn't throw anything sub 62? Ya if it wasn't a giant excel book with customer info I'd post it. If I can't get it resolved I guess I can sanitize it and upload...
    Thanks for trying to help, appreciate it!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: How to sort a filtered array from another sheet?

    No, my bad. I need to review the formula.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: How to sort a filtered array from another sheet?

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

  8. #8
    Registered User
    Join Date
    03-08-2022
    Location
    Washington, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: How to sort a filtered array from another sheet?

    Quote Originally Posted by TMS View Post
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Absolutely huge thanks, that did the trick!!!

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: How to sort a filtered array from another sheet?

    You're welcome. Thanks for the 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. Copy filtered data into filtered range in a separate sheet
    By vikas.trades25 in forum Excel General
    Replies: 1
    Last Post: 02-07-2019, 04:04 AM
  2. [SOLVED] Filter Array 1 with Array 2 as criteria, returning filtered data to source sheet
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-31-2019, 01:08 PM
  3. [SOLVED] Translating array formula - count unique values between dates on filtered sheet - to VBA
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-10-2018, 09:45 AM
  4. Need to sort by ~40 criteria and move filtered rows to new sheet
    By mynorthraleightutor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2013, 08:59 PM
  5. Array to Sort Table in another sheet
    By keysrock35 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2012, 02:42 PM
  6. Filter sheet then assign values into array based on this filtered sheet
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2011, 10:32 AM
  7. Replies: 1
    Last Post: 07-28-2006, 11:10 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