+ Reply to Thread
Results 1 to 5 of 5

Displaying data horizontally after a table filter

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    69

    Displaying data horizontally after a table filter

    Hi there I am trying to display data from a table on another sheet horizontally. If you look at the attachment and on the sheet called "Data" there is a table, and on the sheet called "Sheet1" it is pulling names from that table and displaying them horizontally. However the problem is that when I apply a filter to that table on the "Data" sheet, let's say animals that are white in colour, the headings on the first page stay the same. Whereas what I really want is for the names on the first page to show (if the filter was white) a cockatoo and a polar bear in the first 2 heading fields and the remaining ones to be blank.

    I totally get why it's not working for me because when you apply a filter it is essentially just hiding rows and the references on "Sheet1" are to direct cells. I have tried all sorts of structured references but I can't figure out a way to do it. If you can help me that would be much much appreciated!

    animal problem.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Displaying data horizontally after a table filter

    Check whether the method used in the attached files is helpful...
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Displaying data horizontally after a table filter

    Hi Sixthsense,

    This is awesome how you did that, but is is possible to have it so that the items at the top of the table show up on the left hand side of the headings. Like at the moment if you do a filter it just hides the item from the heading but doesn't shift/align them to the left? Cheers,

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Displaying data horizontally after a table filter

    hi martinpgibson, try this array formula maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. 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. Press F2 on that cell and try again.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Registered User
    Join Date
    10-10-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Displaying data horizontally after a table filter

    Hi benishiryo, unfortunately that doesn't work. DO you have any idea why that might be? I am familiar with array formulas. If you are able to get it working could you maybe attach it to this thread?

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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