+ Reply to Thread
Results 1 to 4 of 4

Pull Row Data from Filtered Table

  1. #1
    Registered User
    Join Date
    01-14-2019
    Location
    Oklahoma
    MS-Off Ver
    Excel 2016
    Posts
    16

    Pull Row Data from Filtered Table

    Seems like you can do this with a formula, but I'm not even sure what terms I need to be searching. I'm using a table with a category column. Users will then filter, so that only one category is chosen, meaning the entire column will say the same category. I want to pull this data (first non-hidden cell in category column) to a cell above the table to act as a title or label. Let me know if I need to explain further.

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Pull Row Data from Filtered Table

    Let's assume column A is your "category" column, and the categories are listed in range A11:A100.
    Create a helper column (which may be hidden) in, say, column X -- put the following formula in cell X11 and drag-copy it down to X100:

    =SUBTOTAL(103,A11)+0

    Then, put the following formula in your "label" cell:

    =INDEX(A11:A100,MATCH(1,X11:X100,0))

    Now, when you apply filter, the "label" will show data from the first non-hidden cell in the "category" column.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Pull Row Data from Filtered Table

    Hi jwright2,

    It sounds like you just want to use AutoFilters or perhaps an Advanced Filter.

    https://www.wikihow.com/Use-AutoFilter-in-MS-Excel
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    01-14-2019
    Location
    Oklahoma
    MS-Off Ver
    Excel 2016
    Posts
    16

    Re: Pull Row Data from Filtered Table

    Root, your formula worked perfectly! Thanks!!

+ 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. Pull filtered data from Access using VBA
    By EmmaO91 in forum Excel General
    Replies: 1
    Last Post: 01-11-2016, 11:54 AM
  2. Replies: 3
    Last Post: 11-04-2013, 07:50 PM
  3. [SOLVED] How to pull data based on Filtered results - To create Statement of Account
    By ec4excel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-28-2013, 11:36 AM
  4. Replies: 0
    Last Post: 02-20-2012, 02:53 PM
  5. How can I paste data in filtered table
    By Ahsanabbas in forum Excel General
    Replies: 2
    Last Post: 09-10-2011, 04:09 PM
  6. Can I pull filtered data from multiple spreadsheets?
    By jamesmbrannan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2010, 11:02 AM
  7. Transferring filtered data from one table to another
    By ehassell01 in forum Excel General
    Replies: 3
    Last Post: 01-24-2010, 10:54 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