+ Reply to Thread
Results 1 to 4 of 4

query with filter or slicer to generate live multiple sheets

  1. #1
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    query with filter or slicer to generate live multiple sheets

    I have a query that contains over 400 rows.

    One column contains an identifier that I'd like to be able to automatically filter onto separate sheets based on the data in that column. There are possibly 200 unique values in that column, so it would mean creating nearly 200 sheets.

    I know that you can use pivot table options to do this based on a filter.

    I also know how to do this very simply in google sheets with the formulas of query and filter.

    I'd really like to have the ability to create these sheets en masse rather than individually. And I really need them to remain 'live' and update upon refresh from the original query.

    ***Edited to include attachment...Thanks, Ali!!!

    Thanks,
    Rachel
    Attached Files Attached Files
    Last edited by phpolicylady; 03-25-2018 at 12:47 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,310

    Re: query with filter or slicer to generate live multiple sheets

    Yes, you can upload your workbook here, and please do so, as not all members are willing or able to access file-sharing sites.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-16-2013
    Location
    Dallas, Texas
    MS-Off Ver
    O365 with latest Excel
    Posts
    107

    Re: query with filter or slicer to generate live multiple sheets

    Hopefully this works!
    Attached Files Attached Files

  4. #4
    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
    30,694

    Re: query with filter or slicer to generate live multiple sheets

    Try

    in A5

    =IFERROR(INDEX(EditableTBL!A$2:A$1000,SMALL(IF(EditableTBL!$A$2:$A$1000=$A$1,ROW(EditableTBL!$B$2:$B$1000)-ROW($A$2)+1,""),ROWS($1:1))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy across and down

    However you will need to create a sheet for each unique Org with value in A1 (Or you use VBA to create them: how variable are the Org values - are they fixed?).

    200 sheets does not seem very sensible!

+ 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: 0
    Last Post: 08-04-2017, 02:39 AM
  2. Replies: 4
    Last Post: 01-15-2017, 09:54 PM
  3. Replies: 2
    Last Post: 07-30-2014, 05:50 AM
  4. [SOLVED] Generate a pending list from multiple sheets
    By stevense28 in forum Excel General
    Replies: 11
    Last Post: 03-26-2014, 02:27 PM
  5. Macro to Generate 'Live' Document with Data Analysis
    By Pubhub in forum Excel General
    Replies: 1
    Last Post: 11-26-2013, 11:57 AM
  6. Replies: 2
    Last Post: 02-06-2010, 11:58 AM
  7. Excel Generate List from Multiple Sheets
    By Scorpio in forum Excel General
    Replies: 5
    Last Post: 05-16-2008, 01:20 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