+ Reply to Thread
Results 1 to 4 of 4

Displaying specific rows from one table in another if certain criteria is met

  1. #1
    Registered User
    Join Date
    01-27-2010
    Location
    leeds
    MS-Off Ver
    Excel 2003
    Posts
    8

    Displaying specific rows from one table in another if certain criteria is met

    Hi all, I have a bit of a problem I hope you can help resolve.

    Basically I have data displayed in a table. Column A contains account number and column E a flag to say if the account has passed or failed. I then have another table that I want to automatically display all accounts that have the flag in column E set to "FAIL".

    The information in the first table is constantly being updated therefore the information in table 2 needs to automatically acknowledge and display each entry of "FAIL".

    Any advice?

    Thanks
    Wayne

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Displaying specific rows from one table in another if certain criteria is met

    If you turn on the AUTOFILTER on your main sheet, you can filter column E for "FAIL" anytime you want to just see the failed items in an organized list. The AutoFilter is designed to make the need for separate sheets less of a requirement. You filter/edit/print/whatever right in your main table as needed, then turn off the filter to see all... very convenient and much less plumbing than separate sheets.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-27-2010
    Location
    leeds
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Displaying specific rows from one table in another if certain criteria is met

    Thanks for the reply but I was hoping to be a bit more fancy than this. I was wanting to have a seperate tab that only contains the "FAILS" that links back to the primary table, rather than simply applying the filter to the primary table.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Displaying specific rows from one table in another if certain criteria is met

    AutoFilter is still the way to go, of course, even if it's happening automatically for you in the background. VBA (a macro) could keep copying the FAILED items to your second sheet, you ok with that?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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