+ Reply to Thread
Results 1 to 4 of 4

Hide rows not matching criteria

  1. #1
    Registered User
    Join Date
    01-12-2013
    Location
    NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Hide rows not matching criteria

    Hello, I have a file with various rows and I'd like to hide any rows that do not match certain criteria in column A. Each row has a different type of merchandise listed in column A (ex: blankets, brooms, etc). So for example, if I wanted to see all "broom", "luggage", and "furniture" rows, all other rows should be hidden. I have to do this in Excel 2003 (I know that Excel 2007 allows users to filter by checking off various criteria, yet 2003 only lets users pick from 2 criteria choices).

    I am hoping there is a formula that will be able to do this, perhaps with me typing a list of criteria in a new tab. I would need to apply the same filtering to a new file each week (row positions will change), yet the criteria of interest will always remain the same.

    Alternatively, there may be a macro that can hide unwanted rows. I am open to trying this, yet am not very familiar with macro coding and can't see to get the VB Add-In menu to come up on my screen.

    Another possible option would be to link the spreadsheet to an Access database and then preform a 'select query' to return only the desired rows...I will be able to figure this out myself if necessary.

    I have attached a sample file ... thank you for any assistance!

    Shell
    Attached Files Attached Files
    Last edited by Hello Shell; 01-12-2013 at 09:02 PM. Reason: Solved

  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
    45,310

    Re: Hide rows not matching criteria

    You could set up an Advanced Filter to do this. Look at the Help or Google examples.


    Regards, TMS
    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
    01-12-2013
    Location
    NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Hide rows not matching criteria

    Thanks TMS for pointing me in the right direction with "Advanced Filters". I found a good tutorial on Youtube.

  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
    45,310

    Re: Hide rows not matching criteria

    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)

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