+ Reply to Thread
Results 1 to 5 of 5

Easy filtering method via vba/formula/advanced filtering?

  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    49

    Cool Easy filtering method via vba/formula/advanced filtering?

    Good Day,

    I have a workbook (attached). On sheet 2 "DATA" is al my major data. Divided by Info and reference columns.

    On sheet 1 "INFO" I have a search bar and a space for results.

    Now, All I need is a formula, or VBA or advanced Filter (whichever works best) that allows me to do the following:

    - When info is put in cell C2 of INFO sheet., I want it to search all references of that text or number string in the REFERENCE columns of the DATA sheet.
    - It should then list the values in column A and B on the INFO sheet (Under results)
    - If there are numerous results, I would like it if it shows them all listed there.

    Any and all help would be greatly appreciated!
    Attached Files Attached Files

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

    Re: Easy filtering method via vba/formula/advanced filtering?

    Hi Jed,

    As you have realized the structure of your data isn't good for Excel to deal with. It would be better if converted to a better structure. See the attached where I've included a macro to convert the data. Run the macro on your data sheet and it will give you the data that is on the new sheet. See if the data in the new structure is better for your needs.

    Also - you will need to delete your first row before running the macro as it has merged cells in it.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-01-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Easy filtering method via vba/formula/advanced filtering?

    Does not work to my needs.

    For example. If I search e0060, it should list all the parts / descriptions below results that that serial is on.

    The structure of the DATA sheet cannot change, due to system restrictions on my side.

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

    Re: Easy filtering method via vba/formula/advanced filtering?

    OK Jed,

    Here is my answer. Change the text in C2 on the Info sheet and it will do what I think you want. I've put some VBA code behind the Info sheet and also in a module to do the work.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-01-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Easy filtering method via vba/formula/advanced filtering?

    MarvinP,

    Thanks, works perfectly!

+ 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. Advanced Filtering
    By kwmayo in forum Excel General
    Replies: 2
    Last Post: 12-12-2011, 12:43 AM
  2. Easy data filtering but I can not figure it out
    By mehart in forum Excel General
    Replies: 2
    Last Post: 07-28-2009, 11:31 AM
  3. Excel 2007 : Advanced Filtering
    By Spenta in forum Excel General
    Replies: 3
    Last Post: 12-29-2008, 12:59 PM
  4. Advanced Filtering Help
    By skizz135 in forum Excel General
    Replies: 2
    Last Post: 07-14-2008, 11:23 AM
  5. Advanced Filtering
    By CFL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2005, 11:05 PM

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