Filter Data Across Multiple Sheets

  • Hi guys


    I have a workbook with 236,000 rows of data (accross 4 sheets). Each sheet is identical layout with differnet data. An example of the data is:


    Policy Number Scheme Number Name Agent code Scheme Name
    Kxxxxxxxxxx Jxxxxx Mr A example 5/xxxx Example Scheme
    Kxxxxxxxxxx Jxxxxx Mr A N Other 6/xxxx Another Example



    To do a search for a scheme number for example I would filter the 4 sheets using the scheme number I needed, then copy and paste the info from the 4 sheets into a 4th sheet so that I could work with the data.


    I need to know if its possible to do the following:


    create a useform to act as a GUI to that if a scheme number is selected it will search/filter the 4 sheets and present the results in a 5th sheet


    I could upland a sample if ti would help


    Many thanks in advance


    Jamie

  • Re: Filter Data Across Multiple Sheets


    What you ask could be done, but I think a better solution would be to use an Access (or other) database to hold your data and then retrieve as needed into Excel for further manipulation as required.

  • Re: Filter Data Across Multiple Sheets


    Dave,


    I couldnt see the benefit of having all the data in one sheet because there was more than 65,536 rows. If I am wrong I apologise.


    Derk, I would have liked to use Access but unfortunately my knowledge dosnt allow me. Thanks though.

  • Re: Filter Data Across Multiple Sheets


    Hi Jamie, I think the point here is that you have too much data for Excel. You need something more suited for large volumes of records. i.e. a proper database


    :)


    Too much data in the wrong type of "container".... as you see from your current problem, it becomes difficult to manage/maintain/manipulate. And Excel will also get terribly slow.


    Post a small sample - the code itself is not rocket science. If I get a chance before I leave today, I might take a bang off it.



    Ger

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

  • Re: Filter Data Across Multiple Sheets


    This is by no means finished - needs a lot more testing. Also, dont know how it will respond to so much data like you have...


    I have assumed you were only searching for Scheme Number (Column G).


    I copied data into 4 sheets just to try and replicate the "multi-sheet" filter scenario....


    Wont be around again until Wednesday.


    You could sexify it by putting in error and informational messages for when no records are found and offering more fields to filter by....


    HTH
    Ger

    Files

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

  • Re: Filter Data Across Multiple Sheets


    Hi Ger:
    your code run perfectly for my problem but instead of user form i have a list of parts in data sheet in column A. i want to search same thing by that list instead of entering data into user form.
    Thanks in advance.

  • Re: Filter Data Across Multiple Sheets


    Hi Raj,


    Using the EXACT SAME data as in the attachments then this slight adjustment works by taking the value of the SELECTED cell and filtering the columns based on that value. Since this thread is 8 years old, please start a new thread if this code does not work.



    Regards
    Ger

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!